We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a4a65a commit 215f496Copy full SHA for 215f496
package.json
@@ -5,7 +5,7 @@
5
"main": "src/index.ts",
6
"scripts": {
7
"start": "ts-node src/index.ts",
8
- "prod": "nodemon --transpile-only src/index.ts"
+ "prod": "nodemon --exitcrash --transpile-only src/index.ts"
9
},
10
"author": "Reece Williams (@Reecepbcups_)",
11
"license": "ISC",
run.sh
@@ -0,0 +1,6 @@
1
+#!/bin/bash
2
+
3
+while true; do
4
+ npm start prod
+ sleep 1
+done
0 commit comments