diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-06-03 22:34:39 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-06-03 22:34:39 +0200 |
commit | fc76359be11956f8514fc0dda1f66bb1c3397d26 (patch) | |
tree | 4d80142778971f1d9e09606e8f8745d56cee8507 /scripts/watch | |
parent | 4a6995be18b15de1834a39c8921a0e4109671bb6 (diff) | |
download | PeerTube-fc76359be11956f8514fc0dda1f66bb1c3397d26.tar.gz PeerTube-fc76359be11956f8514fc0dda1f66bb1c3397d26.tar.zst PeerTube-fc76359be11956f8514fc0dda1f66bb1c3397d26.zip |
Adapt npm scripts
Diffstat (limited to 'scripts/watch')
-rwxr-xr-x | scripts/watch/client/livereload.sh | 2 | ||||
-rwxr-xr-x | scripts/watch/client/sass.sh | 7 | ||||
-rwxr-xr-x | scripts/watch/client/tsc.sh | 5 | ||||
-rwxr-xr-x | scripts/watch/client/webpack.sh | 5 |
4 files changed, 6 insertions, 13 deletions
diff --git a/scripts/watch/client/livereload.sh b/scripts/watch/client/livereload.sh index 5f095265e..11d27754f 100755 --- a/scripts/watch/client/livereload.sh +++ b/scripts/watch/client/livereload.sh | |||
@@ -1,3 +1,3 @@ | |||
1 | #!/usr/bin/env sh | 1 | #!/usr/bin/env sh |
2 | 2 | ||
3 | livereload client/app -e scss | 3 | livereload client/dist |
diff --git a/scripts/watch/client/sass.sh b/scripts/watch/client/sass.sh deleted file mode 100755 index f7a8c8a2b..000000000 --- a/scripts/watch/client/sass.sh +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | #!/usr/bin/env sh | ||
2 | |||
3 | cd client || exit -1 | ||
4 | |||
5 | concurrently \ | ||
6 | "node-sass -w --include-path node_modules/bootstrap-sass/assets/stylesheets/ stylesheets/application.scss stylesheets/index.css" \ | ||
7 | "node-sass -w app/ --output app/" | ||
diff --git a/scripts/watch/client/tsc.sh b/scripts/watch/client/tsc.sh deleted file mode 100755 index f00656d2e..000000000 --- a/scripts/watch/client/tsc.sh +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | #!/usr/bin/env sh | ||
2 | |||
3 | cd client || exit -1 | ||
4 | |||
5 | npm run tsc:w | ||
diff --git a/scripts/watch/client/webpack.sh b/scripts/watch/client/webpack.sh new file mode 100755 index 000000000..3e4522547 --- /dev/null +++ b/scripts/watch/client/webpack.sh | |||
@@ -0,0 +1,5 @@ | |||
1 | #!/usr/bin/env sh | ||
2 | |||
3 | cd client || exit -1 | ||
4 | |||
5 | npm run webpack -- --config config/webpack.dev.js --progress --profile --colors --display-error-details --display-cached --watch | ||