Skip to content

Commit

Permalink
start.sh builds static/bundle.js if not present
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsoulanille committed Sep 30, 2019
1 parent e9d25d9 commit 5ad1d3a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions start.sh
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
if ! [[ -f "./static/bundle.js" ]]; then
echo "Running 'npm run build' to build browserify files"
npm run build
fi
node --trace-warnings index.js

0 comments on commit 5ad1d3a

Please sign in to comment.