-
Notifications
You must be signed in to change notification settings - Fork 68
naught stop not working. #76
Copy link
Copy link
Open
Description
naught start example.js
naught stop
Child process fails to receive process.on('message', ...) in node v0.11.11 and greater.
if (process.send) {
process.send('online');
console.log("sent online");
}
process.on('message', function(m, server) {
//********** This never gets called in node v0.11.11 or greater. **********
console.log('Message' + m);
process.exit();
});
var number = 0;
function printMessage() {
number = number + 1;
console.log("Message " + number);
setTimeout(printMessage, 1000);
}
printMessage();
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels