Skip to content

Commit 49c1cfa

Browse files
authored
Merge pull request #50 from BitGo/WP-000000/build-nodemon-on-restart
fix(nodemon): rebuild and restart app on changes
2 parents d5bbc7e + b6c59ae commit 49c1cfa

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ logs/
66
tsconfig.tsbuildinfo
77
out/
88
.vscode/
9+
*.iml

nodemon.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"watch": ["src/**/*.ts"],
33
"ignore": ["src/**/*.test.ts", "src/**/__tests__/*"],
44
"ext": "ts",
5-
"exec": "ts-node ./bin/enclaved-bitgo-express"
6-
}
5+
"exec": "yarn build && node ./bin/enclaved-bitgo-express"
6+
}

0 commit comments

Comments
 (0)