{"action":"closed","issue":{"url":"https://api.github.com/repos/ChrisWren/grunt-node-inspector/issues/21","labels_url":"https://api.github.com/repos/ChrisWren/grunt-node-inspector/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/ChrisWren/grunt-node-inspector/issues/21/comments","events_url":"https://api.github.com/repos/ChrisWren/grunt-node-inspector/issues/21/events","html_url":"https://github.com/ChrisWren/grunt-node-inspector/issues/21","id":52006064,"number":21,"title":"Use with grunt-contrib-watch","user":{"login":"KevinSheedy","id":378131,"avatar_url":"https://avatars.githubusercontent.com/u/378131?v=3","gravatar_id":"","url":"https://api.github.com/users/KevinSheedy","html_url":"https://github.com/KevinSheedy","followers_url":"https://api.github.com/users/KevinSheedy/followers","following_url":"https://api.github.com/users/KevinSheedy/following{/other_user}","gists_url":"https://api.github.com/users/KevinSheedy/gists{/gist_id}","starred_url":"https://api.github.com/users/KevinSheedy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KevinSheedy/subscriptions","organizations_url":"https://api.github.com/users/KevinSheedy/orgs","repos_url":"https://api.github.com/users/KevinSheedy/repos","events_url":"https://api.github.com/users/KevinSheedy/events{/privacy}","received_events_url":"https://api.github.com/users/KevinSheedy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-12-15T16:21:34Z","updated_at":"2015-05-01T16:53:28Z","closed_at":"2015-05-01T16:53:28Z","body":"It would be great if we were able to restart node-inspector when a source file changes using [grunt-contrib-watch](https://github.com/gruntjs/grunt-contrib-watch). At the moment, both **watch** and **node-inspector** are blocking tasks. This means they can't be run at the same time without using some external mechanism for forcing one of them to run in the background eg [grunt.util.spawn](http://gruntjs.com/api/grunt.util) or [grunt-concurrent](https://github.com/sindresorhus/grunt-concurrent)\r\n\r\ngrunt-node-inspector would need to work similar to how [grunt-express-server](https://github.com/ericclemmons/grunt-express-server) starts a background process so that other tasks can be run after it."}}