1
0
Fork 0

Move livereload to an external script and remove from express.

Developers have to use the livereload plugin in their web browser now.
This commit is contained in:
Chocobozzz 2016-05-21 15:21:15 +02:00
parent 9e379c835c
commit cd0e4b1acf
5 changed files with 6 additions and 9 deletions

View file

@ -2,6 +2,5 @@
npm run build
NODE_ENV=test concurrently \
"npm run livereload" \
"npm run watch:client" \
"npm start"

View file

@ -0,0 +1,3 @@
#!/usr/bin/env sh
livereload client/angular -e scss

View file

@ -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/"