{"action":"created","issue":{"url":"https://api.github.com/repos/JacksonGariety/gulp-nodemon/issues/90","labels_url":"https://api.github.com/repos/JacksonGariety/gulp-nodemon/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/JacksonGariety/gulp-nodemon/issues/90/comments","events_url":"https://api.github.com/repos/JacksonGariety/gulp-nodemon/issues/90/events","html_url":"https://github.com/JacksonGariety/gulp-nodemon/issues/90","id":107168304,"number":90,"title":"Problem watching file changes","user":{"login":"pensierinmusica","id":3594037,"avatar_url":"https://avatars.githubusercontent.com/u/3594037?v=3","gravatar_id":"","url":"https://api.github.com/users/pensierinmusica","html_url":"https://github.com/pensierinmusica","followers_url":"https://api.github.com/users/pensierinmusica/followers","following_url":"https://api.github.com/users/pensierinmusica/following{/other_user}","gists_url":"https://api.github.com/users/pensierinmusica/gists{/gist_id}","starred_url":"https://api.github.com/users/pensierinmusica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pensierinmusica/subscriptions","organizations_url":"https://api.github.com/users/pensierinmusica/orgs","repos_url":"https://api.github.com/users/pensierinmusica/repos","events_url":"https://api.github.com/users/pensierinmusica/events{/privacy}","received_events_url":"https://api.github.com/users/pensierinmusica/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-09-18T09:36:13Z","updated_at":"2015-09-29T13:08:42Z","closed_at":null,"body":"Hi,\r\n\r\nI'm using Node v4.1.0, and `gulp-nodemon` 2.0.4, and it looks like `gulp-nodemon` is not detecting file changes in my server directory.\r\n\r\nThis is the relevant part of my configuration:\r\n\r\n```js\r\nvar run = require('run-sequence');\r\nvar $ = require('gulp-load-plugins')();\r\n\r\ngulp.task('default', function (cb) {\r\n  run(\r\n    'css',\r\n    'server',\r\n    ['browser', 'watch'],\r\n    cb\r\n  );\r\n});\r\n\r\ngulp.task('server', function () {\r\n  $.nodemon({\r\n    script: 'path/to/my/server/',\r\n    ext: 'js json html'\r\n  })\r\n```\r\n\r\nWhen I run `gulp`, `gulp-nodemon` starts the server fine, but then it doesn't detect any file changes and it never restarts (in case it matters, please note that the server is not in the same directory as the \"gulpfile\").\r\n\r\nInstead, if I just run the standard `nodemon` from the command line in the server folder, it all works fine, it detects file changes and it restarts as expected.\r\n\r\nAny idea what I'm doing wrong, or what is causing this issue?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/JacksonGariety/gulp-nodemon/issues/comments/144053397","html_url":"https://github.com/JacksonGariety/gulp-nodemon/issues/90#issuecomment-144053397","issue_url":"https://api.github.com/repos/JacksonGariety/gulp-nodemon/issues/90","id":144053397,"user":{"login":"pensierinmusica","id":3594037,"avatar_url":"https://avatars.githubusercontent.com/u/3594037?v=3","gravatar_id":"","url":"https://api.github.com/users/pensierinmusica","html_url":"https://github.com/pensierinmusica","followers_url":"https://api.github.com/users/pensierinmusica/followers","following_url":"https://api.github.com/users/pensierinmusica/following{/other_user}","gists_url":"https://api.github.com/users/pensierinmusica/gists{/gist_id}","starred_url":"https://api.github.com/users/pensierinmusica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pensierinmusica/subscriptions","organizations_url":"https://api.github.com/users/pensierinmusica/orgs","repos_url":"https://api.github.com/users/pensierinmusica/repos","events_url":"https://api.github.com/users/pensierinmusica/events{/privacy}","received_events_url":"https://api.github.com/users/pensierinmusica/received_events","type":"User","site_admin":false},"created_at":"2015-09-29T13:08:42Z","updated_at":"2015-09-29T13:08:42Z","body":"@adambuczynski if you check https://github.com/JacksonGariety/gulp-nodemon/issues/90#issuecomment-141459766 actually using `gulp-nodemon` with nodemon v1.4.1 is causing a crash on my side (with Node v4.1.0)."}}