diff options
Diffstat (limited to 'bin/runDev.sh')
-rwxr-xr-x | bin/runDev.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bin/runDev.sh b/bin/runDev.sh new file mode 100755 index 0000000..568f00f --- /dev/null +++ b/bin/runDev.sh @@ -0,0 +1,12 @@ +printf "%s\n" "> webpack" +npx webpack + +printf "%s\n" "> node app.js" +if [ "$#" -gt "1" ]; then + node app.js $1 +else + mkdir -p tmp + mkdir -p tmp/usrData + mkdir -p tmp/logs + node app.js "$PWD/tmp/" +fi |