{"action":"created","issue":{"url":"https://api.github.com/repos/remy/nodemon/issues/385","labels_url":"https://api.github.com/repos/remy/nodemon/issues/385/labels{/name}","comments_url":"https://api.github.com/repos/remy/nodemon/issues/385/comments","events_url":"https://api.github.com/repos/remy/nodemon/issues/385/events","html_url":"https://github.com/remy/nodemon/issues/385","id":41465058,"number":385,"title":"when nodemon restart app, docker exit","user":{"login":"prugel","id":5827473,"avatar_url":"https://avatars.githubusercontent.com/u/5827473?v=3","gravatar_id":"","url":"https://api.github.com/users/prugel","html_url":"https://github.com/prugel","followers_url":"https://api.github.com/users/prugel/followers","following_url":"https://api.github.com/users/prugel/following{/other_user}","gists_url":"https://api.github.com/users/prugel/gists{/gist_id}","starred_url":"https://api.github.com/users/prugel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prugel/subscriptions","organizations_url":"https://api.github.com/users/prugel/orgs","repos_url":"https://api.github.com/users/prugel/repos","events_url":"https://api.github.com/users/prugel/events{/privacy}","received_events_url":"https://api.github.com/users/prugel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-08-29T02:26:27Z","updated_at":"2015-05-12T06:50:01Z","closed_at":null,"body":"docker nodejs with nodemon.\r\nwhen some file change nodemon restart \r\nthen docker exit. \r\n\r\nnodemon version 1.2.1\r\n\r\nwith docker (just change app.js, no error)\r\n```\r\n29 Aug 02:08:06 - [nodemon] restarting due to changes...\r\nexception in nodemon killing node\r\nError: spawn ENOENT\r\n    at errnoException (child_process.js:1001:11)\r\n    at Process.ChildProcess._handle.onexit (child_process.js:792:34)\r\n\r\n----------------------------------------------------------\r\nmodule.js:340\r\n    throw err;\r\n          ^\r\nError: Cannot find module '/usr/local/bin/nodemon'\r\n    at Function.Module._resolveFilename (module.js:338:15)\r\n    at Function.Module._load (module.js:280:25)\r\n    at Function.Module.runMain (module.js:497:10)\r\n    at startup (node.js:119:16)\r\n    at node.js:906:3\r\n----------------------------------------------------------\r\n```\r\n\r\nwithout docker (just change, no error)\r\n```\r\n29 Aug 11:12:05 - [nodemon] restarting due to changes...\r\n29 Aug 11:12:06 - [nodemon] starting `node app.js -L`\r\njs-bson: Failed to load c++ bson extension, using pure JS version\r\nServer started at: http://localhost:8080\r\n - Mongodb is connected\r\n```"},"comment":{"url":"https://api.github.com/repos/remy/nodemon/issues/comments/101156000","html_url":"https://github.com/remy/nodemon/issues/385#issuecomment-101156000","issue_url":"https://api.github.com/repos/remy/nodemon/issues/385","id":101156000,"user":{"login":"WooDzu","id":2228236,"avatar_url":"https://avatars.githubusercontent.com/u/2228236?v=3","gravatar_id":"","url":"https://api.github.com/users/WooDzu","html_url":"https://github.com/WooDzu","followers_url":"https://api.github.com/users/WooDzu/followers","following_url":"https://api.github.com/users/WooDzu/following{/other_user}","gists_url":"https://api.github.com/users/WooDzu/gists{/gist_id}","starred_url":"https://api.github.com/users/WooDzu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WooDzu/subscriptions","organizations_url":"https://api.github.com/users/WooDzu/orgs","repos_url":"https://api.github.com/users/WooDzu/repos","events_url":"https://api.github.com/users/WooDzu/events{/privacy}","received_events_url":"https://api.github.com/users/WooDzu/received_events","type":"User","site_admin":false},"created_at":"2015-05-12T06:50:01Z","updated_at":"2015-05-12T06:50:01Z","body":"Hi @creativelikeadog\r\nWhat's your Dockerfile (or docker-compose.yml)?"}}