Skip to content

Commit e9399ee

Browse files
committed
Fix a bug that infinite loop when run the app using nodemon
1 parent d5a6b20 commit e9399ee

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

nodemon.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"verbose": true,
3+
"watch": ["src"],
4+
"ext": "ts",
5+
"exec": "npm start"
6+
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
],
1515
"scripts": {
1616
"build": "tsc -p tsconfig.json",
17-
"dev": "nodemon --exec \"npm start\"",
17+
"dev": "nodemon",
1818
"start": "npm run build && probot run ./lib/index.js",
1919
"lint": "eslint src/**/*.ts",
2020
"test": "jest",

0 commit comments

Comments
 (0)