Skip to content

Commit 08cbabe

Browse files
committed
refactor: do not kill watcher when HTTP server dies
1 parent 6f9019c commit 08cbabe

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

npm-audit.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ <h5 class="card-title">
5555
<div class="card">
5656
<div class="card-body">
5757
<h5 class="card-title">
58-
October 20th 2020, 8:46:14 am
58+
October 20th 2020, 8:47:38 am
5959
</h5>
6060
<p class="card-text">Last updated</p>
6161
</div>

src/DevServer/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,6 @@ export class DevServer {
172172
*/
173173
this.httpServer.on('exit', ({ code }) => {
174174
this.logger.warning(`Underlying HTTP server died with "${code} code"`)
175-
process.exitCode = code
176-
this.kill()
177175
})
178176

179177
/**

0 commit comments

Comments
 (0)