Merge pull request #1272 from balena-io/better-sh

Fix livepush predicate for POSIX sh in entry.sh
This commit is contained in:
CameronDiver 2020-04-21 13:13:42 +01:00 committed by GitHub
commit d371a3adbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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