{"action":"opened","issue":{"url":"https://api.github.com/repos/remy/nodemon/issues/626","labels_url":"https://api.github.com/repos/remy/nodemon/issues/626/labels{/name}","comments_url":"https://api.github.com/repos/remy/nodemon/issues/626/comments","events_url":"https://api.github.com/repos/remy/nodemon/issues/626/events","html_url":"https://github.com/remy/nodemon/issues/626","id":105263226,"number":626,"title":"Restart doesn't happen after change-detection","user":{"login":"flash1293","id":1508364,"avatar_url":"https://avatars.githubusercontent.com/u/1508364?v=3","gravatar_id":"","url":"https://api.github.com/users/flash1293","html_url":"https://github.com/flash1293","followers_url":"https://api.github.com/users/flash1293/followers","following_url":"https://api.github.com/users/flash1293/following{/other_user}","gists_url":"https://api.github.com/users/flash1293/gists{/gist_id}","starred_url":"https://api.github.com/users/flash1293/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flash1293/subscriptions","organizations_url":"https://api.github.com/users/flash1293/orgs","repos_url":"https://api.github.com/users/flash1293/repos","events_url":"https://api.github.com/users/flash1293/events{/privacy}","received_events_url":"https://api.github.com/users/flash1293/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-07T20:11:54Z","updated_at":"2015-09-07T20:11:54Z","closed_at":null,"body":"I have a nodemon running in a docker-container with a mounted volume on OSX. Nodemon is receiving the file-change but it doesn't restart the server (somewhere between detecting the file-change and actually restarting something seems to go wrong).\r\n\r\n\r\nOutput:\r\n\r\n    Creating piclet_web_1...\r\n    Attaching to piclet_web_1\r\n    web_1 | 7 Sep 20:08:06 - [nodemon] v1.4.1\r\n    web_1 | 7 Sep 20:08:06 - [nodemon] to restart at any time, enter `rs`\r\n    web_1 | 7 Sep 20:08:06 - [nodemon] ignoring: .git /app/node_modules/**/* bower_components .sass-cache\r\n    web_1 | 7 Sep 20:08:06 - [nodemon] watching: *.*\r\n    web_1 | 7 Sep 20:08:06 - [nodemon] watching extensions: js\r\n    web_1 | 7 Sep 20:08:06 - [nodemon] starting `node index.js`\r\n    web_1 | 7 Sep 20:08:06 - [nodemon] child pid: 20\r\n    web_1 | 7 Sep 20:08:06 - [nodemon] watching 8 files\r\n    web_1 | restify listening at http://[::]:80 //normal output of started node-app\r\n    web_1 | 7 Sep 20:08:12 - [nodemon] files triggering change check: lib/server.js //file-change, which gets detected\r\n    web_1 | 7 Sep 20:08:12 - [nodemon] matched rule: **/*.*\r\n    web_1 | 7 Sep 20:08:12 - [nodemon] changes after filters (before/after): 1/1\r\n    web_1 | 7 Sep 20:08:12 - [nodemon] restarting due to changes...\r\n    web_1 | 7 Sep 20:08:12 - [nodemon] lib/server.js\r\n    web_1 | \r\n    //no output of restarted server\r\n\r\nDockerfile:\r\n\r\n    FROM node:0.12.7-wheezy\r\n    EXPOSE 80\r\n    \r\n    RUN npm install nodemon -g\r\n    \r\n    ADD app /app\r\n    WORKDIR app\r\n    \r\n    RUN npm install\r\n\r\ndocker-compose.yml\r\n\r\n    web:\r\n      build: .\r\n      ports:\r\n        - \"80:80\"\r\n      volumes:\r\n        - ./app/lib:/app/lib\r\n      links:\r\n        - db\r\n      command: \"nodemon -L ./index.js\"\r\n    db:\r\n      image: mongo:3.1.7\r\n\r\n--dump output:\r\n```\r\n    web_1 | node: v0.12.7\r\n    web_1 | nodemon: v1.4.1\r\n    web_1 | command: node /usr/local/bin/nodemon -L -V --dump\r\n    web_1 | cwd: /app\r\n    web_1 | OS: linux x64\r\n    web_1 | --------------\r\n    web_1 | { run: false,\r\n    web_1 |   system:\r\n    web_1 |    { cwd: '/app',\r\n    web_1 |      useFind: true,\r\n    web_1 |      useWatch: false,\r\n    web_1 |      useWatchFile: false },\r\n    web_1 |   required: false,\r\n    web_1 |   dirs: [ '/app' ],\r\n    web_1 |   timeout: 1000,\r\n    web_1 |   options:\r\n    web_1 |    { legacyWatch: true,\r\n    web_1 |      verbose: true,\r\n    web_1 |      dump: true,\r\n    web_1 |      ignore:\r\n    web_1 |       [ '.git',\r\n    web_1 |         'node_modules',\r\n    web_1 |         'bower_components',\r\n    web_1 |         '.sass-cache',\r\n    web_1 |         re: /\\.git|node_modules|bower_components|\\.sass\\-cache/ ],\r\n    web_1 |      watch: [ '*.*', re: /.*\\..*/ ],\r\n    web_1 |      restartable: 'rs',\r\n    web_1 |      execMap: { py: 'python', rb: 'ruby' },\r\n    web_1 |      stdin: true,\r\n    web_1 |      runOnChangeOnly: false,\r\n    web_1 |      stdout: true,\r\n    web_1 |      execOptions:\r\n    web_1 |       { script: 'index.js',\r\n    web_1 |         exec: 'node',\r\n    web_1 |         args: [],\r\n    web_1 |         scriptPosition: 0,\r\n    web_1 |         nodeArgs: undefined,\r\n    web_1 |         ext: 'js',\r\n    web_1 |         env: {},\r\n    web_1 |         execArgs: [] },\r\n    web_1 |      monitor:\r\n    web_1 |       [ '*.*',\r\n    web_1 |         '!.git',\r\n    web_1 |         '!/app/node_modules/**/*',\r\n    web_1 |         '!bower_components',\r\n    web_1 |         '!.sass-cache' ] },\r\n    web_1 |   load: [Function],\r\n    web_1 |   reset: [Function: reset],\r\n    web_1 |   lastStarted: 0,\r\n    web_1 |   loaded: [],\r\n    web_1 |   command:\r\n    web_1 |    { raw: { executable: 'node', args: [ 'index.js' ] },\r\n    web_1 |      string: 'node index.js' },\r\n    web_1 |   offset: 0 }\r\n    web_1 | --------------\r\n```"}}