mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
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:
@@ -2,6 +2,5 @@
|
||||
|
||||
npm run build
|
||||
NODE_ENV=test concurrently \
|
||||
"npm run livereload" \
|
||||
"npm run watch:client" \
|
||||
"npm start"
|
||||
|
||||
3
scripts/watch/client/livereload.sh
Executable file
3
scripts/watch/client/livereload.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
livereload client/angular -e scss
|
||||
@@ -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/"
|
||||
|
||||
Reference in New Issue
Block a user