We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c38c80 commit be0aa33Copy full SHA for be0aa33
lib/bsb
@@ -8,6 +8,7 @@
8
*/
9
10
var child_process = require('child_process')
11
+var os = require('os');
12
13
var bsconfig = 'bsconfig.json'
14
var bsb_exe = __filename + ".exe"
@@ -97,8 +98,10 @@ if (watch_mode) {
97
98
process.on('uncaughtException', onExit)
99
process.stdin.on('close',onExit)
100
// close when stdin stops
- // process.stdin.on('end', onExit)
101
- // process.stdin.resume()
+ if (os.platform() !== "win32") {
102
+ process.stdin.on('end', onExit)
103
+ process.stdin.resume()
104
+ }
105
106
return true
107
} catch (exn) {
0 commit comments