{"action":"closed","issue":{"url":"https://api.github.com/repos/remy/nodemon/issues/509","labels_url":"https://api.github.com/repos/remy/nodemon/issues/509/labels{/name}","comments_url":"https://api.github.com/repos/remy/nodemon/issues/509/comments","events_url":"https://api.github.com/repos/remy/nodemon/issues/509/events","html_url":"https://github.com/remy/nodemon/issues/509","id":58158566,"number":509,"title":"Cannot read property 'stdout' of undefined","user":{"login":"micahlmartin","id":171773,"avatar_url":"https://avatars.githubusercontent.com/u/171773?v=3","gravatar_id":"","url":"https://api.github.com/users/micahlmartin","html_url":"https://github.com/micahlmartin","followers_url":"https://api.github.com/users/micahlmartin/followers","following_url":"https://api.github.com/users/micahlmartin/following{/other_user}","gists_url":"https://api.github.com/users/micahlmartin/gists{/gist_id}","starred_url":"https://api.github.com/users/micahlmartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micahlmartin/subscriptions","organizations_url":"https://api.github.com/users/micahlmartin/orgs","repos_url":"https://api.github.com/users/micahlmartin/repos","events_url":"https://api.github.com/users/micahlmartin/events{/privacy}","received_events_url":"https://api.github.com/users/micahlmartin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/remy/nodemon/labels/bug","name":"bug","color":"ff0000"},{"url":"https://api.github.com/repos/remy/nodemon/labels/help%20wanted","name":"help wanted","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-19T02:00:19Z","updated_at":"2015-05-19T12:15:02Z","closed_at":"2015-05-19T12:15:02Z","body":"I'm trying to move over to io.js 1.2.0 and I'm running into an issue. Nodemon will start fine but whenever a file changes it chokes trying to restart. Here's the output:\r\n\r\n```\r\n18 Feb 20:55:29 - [nodemon] files triggering change check: app/policies/canAccessUserRoles.js\r\n18 Feb 20:55:29 - [nodemon] matched rule: **/*.*\r\n18 Feb 20:55:29 - [nodemon] changes after filters (before/after): 1/1\r\n18 Feb 20:55:29 - [nodemon] restarting due to changes...\r\n18 Feb 20:55:29 - [nodemon] app/policies/canAccessUserRoles.js\r\n\r\nexception in nodemon killing node\r\nTypeError: Cannot read property 'stdout' of undefined\r\n    at spawn (/Users/micah/trackr/app/node_modules/nodemon/lib/spawn.js:13:21)\r\n    at spawn (/Users/micah/trackr/app/node_modules/nodemon/lib/spawn.js:47:13)\r\n    at null.<anonymous> (/Users/micah/trackr/app/node_modules/nodemon/lib/nodemon.js:179:15)\r\n    at emitOne (events.js:80:20)\r\n    at emit (events.js:150:7)\r\n    at restartBus (/Users/micah/trackr/app/node_modules/nodemon/lib/monitor/watch.js:240:7)\r\n    at filterAndRestart (/Users/micah/trackr/app/node_modules/nodemon/lib/monitor/watch.js:273:16)\r\n    at /Users/micah/trackr/app/node_modules/nodemon/lib/monitor/watch.js:291:9\r\n    at /Users/micah/trackr/app/node_modules/nodemon/lib/monitor/watch.js:100:9\r\n    at ChildProcess.exithandler (child_process.js:707:7)\r\n```\r\n\r\nHere's the output from the dump:\r\n\r\n```\r\n--------------\r\nnode: v1.2.0\r\nnodemon: v1.3.7\r\ncommand: node /Users/micah/trackr/app/node_modules/nodemon/bin/nodemon.js ./bin/nuts s --dump\r\ncwd: /Users/micah/trackr/app\r\nOS: darwin x64\r\n--------------\r\n{ run: false,\r\n  system:\r\n   { cwd: '/Users/micah/trackr/app',\r\n     useFind: true,\r\n     useWatch: false,\r\n     useWatchFile: false },\r\n  required: false,\r\n  dirs: [ '/Users/micah/trackr/app' ],\r\n  timeout: 1000,\r\n  options:\r\n   { dump: true,\r\n     restartable: 'rs',\r\n     verbose: true,\r\n     ignore:\r\n      [ '.git',\r\n        'public/',\r\n        'node_modules/',\r\n        'prerender/',\r\n        'bower_components/',\r\n        'stats.generated.json',\r\n        re: /\\.git|public\\/|node_modules\\/|prerender\\/|bower_components\\/|stats\\.generated\\.json/ ],\r\n     events: { restart: 'osascript -e \\'display notification \"App restarted due to:\\n\\'$FILENAME\\'\" with title \"nodemon\"\\'' },\r\n     watch: [ '*.*', re: /.*\\..*/ ],\r\n     execMap: { py: 'python', rb: 'ruby' },\r\n     stdin: true,\r\n     stdout: true,\r\n     execOptions:\r\n      { script: './bin/nuts',\r\n        exec: 'node',\r\n        args: [ 's' ],\r\n        scriptPosition: 0,\r\n        nodeArgs: undefined,\r\n        ext: 'js,json,yml,template',\r\n        env: {},\r\n        execArgs: [] },\r\n     monitor:\r\n      [ '*.*',\r\n        '!/Users/micah/trackr/app/.git/**/*',\r\n        '!/Users/micah/trackr/app/public/**/*',\r\n        '!/Users/micah/trackr/app/node_modules/**/*',\r\n        '!/Users/micah/trackr/app/prerender/**/*',\r\n        '!bower_components/**/*',\r\n        '!stats.generated.json' ] },\r\n  load: [Function],\r\n  reset: [Function: reset],\r\n  lastStarted: 0,\r\n  loaded: [ '/Users/micah/trackr/app/nodemon.json' ],\r\n  command:\r\n   { raw: { executable: 'node', args: [ './bin/nuts', 's' ] },\r\n     string: 'node ./bin/nuts s' },\r\n  offset: 0 }\r\n--------------\r\n18 Feb 20:55:53 - [nodemon] exiting\r\n```\r\n\r\n\r\n"}}