From cd0e4b1acfbd4cc393f6cfcab718d66e25193fbd Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Sat, 21 May 2016 15:21:15 +0200 Subject: Move livereload to an external script and remove from express. Developers have to use the livereload plugin in their web browser now. --- scripts/watch/client/livereload.sh | 3 +++ scripts/watch/client/sass.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100755 scripts/watch/client/livereload.sh (limited to 'scripts/watch') diff --git a/scripts/watch/client/livereload.sh b/scripts/watch/client/livereload.sh new file mode 100755 index 000000000..a4acc439c --- /dev/null +++ b/scripts/watch/client/livereload.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env sh + +livereload client/angular -e scss diff --git a/scripts/watch/client/sass.sh b/scripts/watch/client/sass.sh index 7d716cb7c..22c536e38 100755 --- a/scripts/watch/client/sass.sh +++ b/scripts/watch/client/sass.sh @@ -3,5 +3,5 @@ cd client || exit -1 concurrently \ - "node-sass -w --include-path node_modules/bootstrap-sass/assets/stylesheets/ stylesheets/application.scss stylesheets/index.css client/angular/**/ client/angular/**/**" \ + "node-sass -w --include-path node_modules/bootstrap-sass/assets/stylesheets/ stylesheets/application.scss stylesheets/index.css" \ "node-sass -w angular/ --output angular/" -- cgit v1.2.3