Fix livepush predicate for POSIX sh in entry.sh

Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
This commit is contained in:
Cameron Diver 2020-04-21 12:56:58 +01:00
parent ca8478a820
commit e2eba6280d

View File

@ -53,7 +53,7 @@ fi
# not a problem.
modprobe ip6_tables || true
if [ "${LIVEPUSH}" -eq "1" ]; then
if [ "${LIVEPUSH}" = "1" ]; then
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