mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-04-12 21:52:57 +00:00
🔎 Also watch js files during livepush
Change-type: patch Signed-off-by: Cameron Diver <cameron@balena.io>
This commit is contained in:
parent
4f2a534075
commit
aa46be93d4
2
entry.sh
2
entry.sh
@ -54,7 +54,7 @@ fi
|
||||
modprobe ip6_tables || true
|
||||
|
||||
if [ "${LIVEPUSH}" -eq "1" ]; then
|
||||
exec npx nodemon --watch src --watch typings --ignore tests \
|
||||
exec npx nodemon --watch src --watch typings --ignore tests -e js,ts,json \
|
||||
--exec node -r ts-node/register/transpile-only src/app.ts
|
||||
else
|
||||
exec node /usr/src/app/dist/app.js
|
||||
|
Loading…
x
Reference in New Issue
Block a user