aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/dev.sh1
-rwxr-xr-xscripts/watch/client/livereload.sh3
-rwxr-xr-xscripts/watch/client/sass.sh2
3 files changed, 4 insertions, 2 deletions
diff --git a/scripts/dev.sh b/scripts/dev.sh
index d617cd511..ddb5b8d33 100755
--- a/scripts/dev.sh
+++ b/scripts/dev.sh
@@ -2,6 +2,5 @@
2 2
3npm run build 3npm run build
4NODE_ENV=test concurrently \ 4NODE_ENV=test concurrently \
5 "npm run livereload" \
6 "npm run watch:client" \ 5 "npm run watch:client" \
7 "npm start" 6 "npm start"
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 @@
1#!/usr/bin/env sh
2
3livereload 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 @@
3cd client || exit -1 3cd client || exit -1
4 4
5concurrently \ 5concurrently \
6 "node-sass -w --include-path node_modules/bootstrap-sass/assets/stylesheets/ stylesheets/application.scss stylesheets/index.css client/angular/**/ client/angular/**/**" \ 6 "node-sass -w --include-path node_modules/bootstrap-sass/assets/stylesheets/ stylesheets/application.scss stylesheets/index.css" \
7 "node-sass -w angular/ --output angular/" 7 "node-sass -w angular/ --output angular/"