aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/watch
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-06-11 11:29:03 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-06-11 11:36:05 +0200
commit66dd264f7b15c05006faa00694c88c56794edc54 (patch)
tree7545d2f52b8019c128897c120dab7bcbafb586cd /scripts/watch
parent69f616ab3aeefd6ce330600604df90f2f48bfe3b (diff)
downloadPeerTube-66dd264f7b15c05006faa00694c88c56794edc54.tar.gz
PeerTube-66dd264f7b15c05006faa00694c88c56794edc54.tar.zst
PeerTube-66dd264f7b15c05006faa00694c88c56794edc54.zip
Better build/dev scripts
Diffstat (limited to 'scripts/watch')
-rwxr-xr-xscripts/watch/client.sh (renamed from scripts/watch/client/webpack.sh)0
-rwxr-xr-xscripts/watch/server.sh5
2 files changed, 5 insertions, 0 deletions
diff --git a/scripts/watch/client/webpack.sh b/scripts/watch/client.sh
index 3e4522547..3e4522547 100755
--- a/scripts/watch/client/webpack.sh
+++ b/scripts/watch/client.sh
diff --git a/scripts/watch/server.sh b/scripts/watch/server.sh
new file mode 100755
index 000000000..55570138e
--- /dev/null
+++ b/scripts/watch/server.sh
@@ -0,0 +1,5 @@
1#!/usr/bin/env sh
2
3NODE_ENV=test concurrently \
4 "npm run tsc -- --sourceMap && npm run nodemon -- --delay 2 --watch ./dist dist/server" \
5 "npm run tsc -- --sourceMap -w"