Skip to content

Commit 70b6466

Browse files
committed
fix #2638
1 parent f02c3d2 commit 70b6466

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/bsb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,10 @@ if (watch_mode) {
9595
process.on('SIGTERM', onExit)
9696
process.on('SIGHUP', onExit)
9797
process.on('uncaughtException', onExit)
98+
process.stdin.on('close',onExit)
9899
// close when stdin stops
99-
process.stdin.on('end', onExit)
100-
process.stdin.resume()
100+
// process.stdin.on('end', onExit)
101+
// process.stdin.resume()
101102

102103
return true
103104
} catch (exn) {

0 commit comments

Comments
 (0)