aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/watch
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-12-17 15:33:58 +0100
committerChocobozzz <me@florianbigard.com>2019-12-18 10:14:24 +0100
commitc026a2e67357bd4bd4fcc4c10f8c5cd4749435c9 (patch)
tree692d4f1b3b3dd68fc79cec4e3b5d1b93c72d037e /scripts/watch
parent478924a044f6a7b0fb5156c3e4a0e8ef4ed30a4a (diff)
downloadPeerTube-c026a2e67357bd4bd4fcc4c10f8c5cd4749435c9.tar.gz
PeerTube-c026a2e67357bd4bd4fcc4c10f8c5cd4749435c9.tar.zst
PeerTube-c026a2e67357bd4bd4fcc4c10f8c5cd4749435c9.zip
Remove watch scripts
Diffstat (limited to 'scripts/watch')
-rwxr-xr-xscripts/watch/client.sh7
-rwxr-xr-xscripts/watch/server.sh20
2 files changed, 0 insertions, 27 deletions
diff --git a/scripts/watch/client.sh b/scripts/watch/client.sh
deleted file mode 100755
index 1d6b8c2aa..000000000
--- a/scripts/watch/client.sh
+++ /dev/null
@@ -1,7 +0,0 @@
1#!/bin/sh
2
3set -eu
4
5cd client
6
7npm run ng -- serve --proxy-config proxy.config.json --hmr --configuration hmr --host 0.0.0.0 --disable-host-check --port 3000
diff --git a/scripts/watch/server.sh b/scripts/watch/server.sh
deleted file mode 100755
index 2e3231865..000000000
--- a/scripts/watch/server.sh
+++ /dev/null
@@ -1,20 +0,0 @@
1#!/bin/sh
2
3set -eu
4
5# Copy locales
6mkdir -p "./client/dist"
7rm -rf "./client/dist/locale"
8cp -r "./client/src/locale" "./client/dist/locale"
9
10rm -rf "./dist"
11
12mkdir "./dist"
13cp "./tsconfig.json" "./dist"
14
15npm run tsc -- --incremental --sourceMap
16cp -r ./server/static ./server/assets ./dist/server
17
18NODE_ENV=test npm run concurrently -- -k \
19 "npm run nodemon -- --delay 1 --watch ./dist dist/server" \
20 "npm run tsc -- --incremental --sourceMap --preserveWatchOutput -w"