don't remove daemon input listener on auto restart

to re close #365
This commit is contained in:
Dave Conway-Jones 2017-10-29 21:54:01 +00:00
parent cabf9ad00c
commit fce96ff196
No known key found for this signature in database
GPG Key ID: 9E7F9C73F5168CD4
2 changed files with 1 additions and 2 deletions

View File

@ -93,7 +93,6 @@ module.exports = function(RED) {
if (node.redo === true) {
var loop = setInterval( function() {
if (!node.running) {
node.removeListener('input', inputlistener);
node.warn("Restarting : " + node.cmd);
runit();
}

View File

@ -1,6 +1,6 @@
{
"name" : "node-red-node-daemon",
"version" : "0.0.16",
"version" : "0.0.17",
"description" : "A Node-RED node that runs and monitors a long running system command.",
"dependencies" : {
},