aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/watch/client
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-06-03 22:34:39 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-06-03 22:34:39 +0200
commitfc76359be11956f8514fc0dda1f66bb1c3397d26 (patch)
tree4d80142778971f1d9e09606e8f8745d56cee8507 /scripts/watch/client
parent4a6995be18b15de1834a39c8921a0e4109671bb6 (diff)
downloadPeerTube-fc76359be11956f8514fc0dda1f66bb1c3397d26.tar.gz
PeerTube-fc76359be11956f8514fc0dda1f66bb1c3397d26.tar.zst
PeerTube-fc76359be11956f8514fc0dda1f66bb1c3397d26.zip
Adapt npm scripts
Diffstat (limited to 'scripts/watch/client')
-rwxr-xr-xscripts/watch/client/livereload.sh2
-rwxr-xr-xscripts/watch/client/sass.sh7
-rwxr-xr-xscripts/watch/client/tsc.sh5
-rwxr-xr-xscripts/watch/client/webpack.sh5
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
3livereload client/app -e scss 3livereload 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
3cd client || exit -1
4
5concurrently \
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
3cd client || exit -1
4
5npm 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
3cd client || exit -1
4
5npm run webpack -- --config config/webpack.dev.js --progress --profile --colors --display-error-details --display-cached --watch