2020-11-07 11:35:29 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
2021-05-22 01:51:44 +02:00
|
|
|
# TODO: add switch via param
|
|
|
|
|
|
|
|
|
|
# server for built files
|
2021-05-17 00:27:47 +02:00
|
|
|
cd "$RUN_DIR/build/server"
|
2020-11-07 11:35:29 +01:00
|
|
|
|
2021-05-17 00:27:47 +02:00
|
|
|
nodemon --max-old-space-size=64 main.js -c ../../config.json
|
2021-05-22 01:51:44 +02:00
|
|
|
|
|
|
|
|
# dev server
|
|
|
|
|
# npm run ts-node src/server/main.ts -- -c config.json
|