diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-05-21 15:21:15 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-05-21 15:21:15 +0200 |
commit | cd0e4b1acfbd4cc393f6cfcab718d66e25193fbd (patch) | |
tree | f34d2642d33dd6fd8e864b101db13906d146f346 /scripts/watch/client | |
parent | 9e379c835c2badfe8e9088e25870af0a6a8c4d40 (diff) | |
download | PeerTube-cd0e4b1acfbd4cc393f6cfcab718d66e25193fbd.tar.gz PeerTube-cd0e4b1acfbd4cc393f6cfcab718d66e25193fbd.tar.zst PeerTube-cd0e4b1acfbd4cc393f6cfcab718d66e25193fbd.zip |
Move livereload to an external script and remove from express.
Developers have to use the livereload plugin in their web browser now.
Diffstat (limited to 'scripts/watch/client')
-rwxr-xr-x | scripts/watch/client/livereload.sh | 3 | ||||
-rwxr-xr-x | scripts/watch/client/sass.sh | 2 |
2 files changed, 4 insertions, 1 deletions
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 | |||
3 | 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 @@ | |||
3 | cd client || exit -1 | 3 | cd client || exit -1 |
4 | 4 | ||
5 | concurrently \ | 5 | concurrently \ |
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/" |