{"action":"created","issue":{"url":"https://api.github.com/repos/thesbros/gulp-run-electron/issues/1","labels_url":"https://api.github.com/repos/thesbros/gulp-run-electron/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/thesbros/gulp-run-electron/issues/1/comments","events_url":"https://api.github.com/repos/thesbros/gulp-run-electron/issues/1/events","html_url":"https://github.com/thesbros/gulp-run-electron/issues/1","id":92767650,"number":1,"title":"cb is not a function when saving file","user":{"login":"davej","id":26971,"avatar_url":"https://avatars.githubusercontent.com/u/26971?v=3","gravatar_id":"","url":"https://api.github.com/users/davej","html_url":"https://github.com/davej","followers_url":"https://api.github.com/users/davej/followers","following_url":"https://api.github.com/users/davej/following{/other_user}","gists_url":"https://api.github.com/users/davej/gists{/gist_id}","starred_url":"https://api.github.com/users/davej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davej/subscriptions","organizations_url":"https://api.github.com/users/davej/orgs","repos_url":"https://api.github.com/users/davej/repos","events_url":"https://api.github.com/users/davej/events{/privacy}","received_events_url":"https://api.github.com/users/davej/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-03T00:56:22Z","updated_at":"2015-07-03T01:06:14Z","closed_at":null,"body":"Seems to happen when I save a file and the `rerun` function is called.\r\n\r\nError I'm getting is:\r\n```\r\n/Users/dave/my-app/node_modules/gulp-run-electron/src/index.js:18\r\n\t\t\tcb(null, file);\r\n   ^\r\nTypeError: cb is not a function\r\n    at done (/Users/dave/my-app/node_modules/gulp-run-electron/src/index.js:18:4)\r\n```\r\n\r\nAfter inspecting `cb`, it's value at the point of failure is:\r\n```\r\n{ type: 'changed',\r\n  path: '/Users/dave/my-app/services/js/uninstall.js' }\r\n```\r\n\r\nBut if I remove the `uninstall.js` file then it will still fail (`cb` will be an object with a different path)."},"comment":{"url":"https://api.github.com/repos/thesbros/gulp-run-electron/issues/comments/118205589","html_url":"https://github.com/thesbros/gulp-run-electron/issues/1#issuecomment-118205589","issue_url":"https://api.github.com/repos/thesbros/gulp-run-electron/issues/1","id":118205589,"user":{"login":"davej","id":26971,"avatar_url":"https://avatars.githubusercontent.com/u/26971?v=3","gravatar_id":"","url":"https://api.github.com/users/davej","html_url":"https://github.com/davej","followers_url":"https://api.github.com/users/davej/followers","following_url":"https://api.github.com/users/davej/following{/other_user}","gists_url":"https://api.github.com/users/davej/gists{/gist_id}","starred_url":"https://api.github.com/users/davej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davej/subscriptions","organizations_url":"https://api.github.com/users/davej/orgs","repos_url":"https://api.github.com/users/davej/repos","events_url":"https://api.github.com/users/davej/events{/privacy}","received_events_url":"https://api.github.com/users/davej/received_events","type":"User","site_admin":false},"created_at":"2015-07-03T01:06:14Z","updated_at":"2015-07-03T01:06:14Z","body":"Thanks :+1: "}}