{"action":"opened","issue":{"url":"https://api.github.com/repos/remy/nodemon/issues/648","labels_url":"https://api.github.com/repos/remy/nodemon/issues/648/labels{/name}","comments_url":"https://api.github.com/repos/remy/nodemon/issues/648/comments","events_url":"https://api.github.com/repos/remy/nodemon/issues/648/events","html_url":"https://github.com/remy/nodemon/issues/648","id":107831305,"number":648,"title":"`rs` does not works after `process.exit()`","user":{"login":"nitriques","id":771169,"avatar_url":"https://avatars.githubusercontent.com/u/771169?v=3","gravatar_id":"","url":"https://api.github.com/users/nitriques","html_url":"https://github.com/nitriques","followers_url":"https://api.github.com/users/nitriques/followers","following_url":"https://api.github.com/users/nitriques/following{/other_user}","gists_url":"https://api.github.com/users/nitriques/gists{/gist_id}","starred_url":"https://api.github.com/users/nitriques/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitriques/subscriptions","organizations_url":"https://api.github.com/users/nitriques/orgs","repos_url":"https://api.github.com/users/nitriques/repos","events_url":"https://api.github.com/users/nitriques/events{/privacy}","received_events_url":"https://api.github.com/users/nitriques/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-23T00:44:55Z","updated_at":"2015-09-23T00:44:55Z","closed_at":null,"body":"I have a node app that calls process.exit() when some conflicted state arise. But after this, nodemon refuses to restart if the files does not changes. I think that typing `rs` should restart the monitored process even if the monitored process did exit cleanly.\r\n\r\nYou can reproduce the bug using this really simple code:\r\n\r\n```js\r\n'use strict';\r\n\r\nsetTimeout(function () {\r\n\tconsole.log('timer 1: exiting...');\r\n\tprocess.exit();\r\n}, 1000);\r\n\r\nsetTimeout(function () {\r\n\tconsole.log('timer 2: will never appear, which is ok.');\r\n}, 2000);\r\n```\r\n\r\nnodemon displays:\r\n\r\n```\r\n2 Sep 20:34:13 - [nodemon] v1.7.0\r\n22 Sep 20:34:13 - [nodemon] to restart at any time, enter `rs`\r\n22 Sep 20:34:13 - [nodemon] watching: *.*\r\n22 Sep 20:34:13 - [nodemon] starting `node test.js`\r\ntimer 1: exiting...\r\n22 Sep 20:34:14 - [nodemon] clean exit - waiting for changes before restart\r\nrs\r\n\r\n```\r\n\r\nBTW, I am running node 0.12.7 for legacy reasons. (test was made on OS X 10.10.4)"}}