{"action":"closed","issue":{"url":"https://api.github.com/repos/JacksonGariety/gulp-nodemon/issues/24","labels_url":"https://api.github.com/repos/JacksonGariety/gulp-nodemon/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/JacksonGariety/gulp-nodemon/issues/24/comments","events_url":"https://api.github.com/repos/JacksonGariety/gulp-nodemon/issues/24/events","html_url":"https://github.com/JacksonGariety/gulp-nodemon/issues/24","id":30573363,"number":24,"title":"ignore files not ignored","user":{"login":"gmoulin","id":688073,"avatar_url":"https://avatars.githubusercontent.com/u/688073?v=3","gravatar_id":"","url":"https://api.github.com/users/gmoulin","html_url":"https://github.com/gmoulin","followers_url":"https://api.github.com/users/gmoulin/followers","following_url":"https://api.github.com/users/gmoulin/following{/other_user}","gists_url":"https://api.github.com/users/gmoulin/gists{/gist_id}","starred_url":"https://api.github.com/users/gmoulin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmoulin/subscriptions","organizations_url":"https://api.github.com/users/gmoulin/orgs","repos_url":"https://api.github.com/users/gmoulin/repos","events_url":"https://api.github.com/users/gmoulin/events{/privacy}","received_events_url":"https://api.github.com/users/gmoulin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2014-04-01T06:00:25Z","updated_at":"2016-01-10T21:14:36Z","closed_at":"2016-01-10T21:14:36Z","body":"Hi,\r\nI managed to get nodemon running but the ignore file option is not taken into account.\r\n\r\n```javascript\r\ngulp.task('nodemon-dev', function( cb ){\r\n\tp.nodemon({\r\n\t\tscript: 'server.js',\r\n\t\tnodeArgs: ['--debug=9999'], \r\n\t\tignore: [\r\n\t\t\t'./!(server)/**',\r\n\t\t\t'./Gruntfile.js',\r\n\t\t\t'./gulpfile.js'\r\n\t\t],\r\n\t\text: 'js',\r\n\t\tdelayTime: 1,\r\n\t\tenv: {\r\n\t\t\tENV: 'development',\r\n\t\t\tPORT: 3001\r\n\t\t}\r\n\t});\r\n\r\n\tcb( null );\r\n});\r\n```\r\n\r\nI want the server to reload on javascript files change in \"server/\" folder and \"server.js\" main file.\r\nProblem is when I save \"gulpfile.js\" or any other js file nodemon restart."}}