server restart only on js file changes

This commit is contained in:
Zutatensuppe 2021-05-29 14:11:40 +02:00
parent e803945d23
commit 7b1f270587

View file

@ -1,4 +1,4 @@
#!/bin/sh
# server for built files
nodemon --max-old-space-size=64 build/server/main.js -c config.json
nodemon --max-old-space-size=64 -e js build/server/main.js -c config.json