{"action":"created","issue":{"url":"https://api.github.com/repos/dflima/learn-gulp/issues/1","labels_url":"https://api.github.com/repos/dflima/learn-gulp/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/dflima/learn-gulp/issues/1/comments","events_url":"https://api.github.com/repos/dflima/learn-gulp/issues/1/events","html_url":"https://github.com/dflima/learn-gulp/issues/1","id":105297408,"number":1,"title":"Error on gulp watch","user":{"login":"dflima","id":248746,"avatar_url":"https://avatars.githubusercontent.com/u/248746?v=3","gravatar_id":"","url":"https://api.github.com/users/dflima","html_url":"https://github.com/dflima","followers_url":"https://api.github.com/users/dflima/followers","following_url":"https://api.github.com/users/dflima/following{/other_user}","gists_url":"https://api.github.com/users/dflima/gists{/gist_id}","starred_url":"https://api.github.com/users/dflima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dflima/subscriptions","organizations_url":"https://api.github.com/users/dflima/orgs","repos_url":"https://api.github.com/users/dflima/repos","events_url":"https://api.github.com/users/dflima/events{/privacy}","received_events_url":"https://api.github.com/users/dflima/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dflima/learn-gulp/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"dflima","id":248746,"avatar_url":"https://avatars.githubusercontent.com/u/248746?v=3","gravatar_id":"","url":"https://api.github.com/users/dflima","html_url":"https://github.com/dflima","followers_url":"https://api.github.com/users/dflima/followers","following_url":"https://api.github.com/users/dflima/following{/other_user}","gists_url":"https://api.github.com/users/dflima/gists{/gist_id}","starred_url":"https://api.github.com/users/dflima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dflima/subscriptions","organizations_url":"https://api.github.com/users/dflima/orgs","repos_url":"https://api.github.com/users/dflima/repos","events_url":"https://api.github.com/users/dflima/events{/privacy}","received_events_url":"https://api.github.com/users/dflima/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-09-08T04:17:54Z","updated_at":"2015-09-10T02:54:43Z","closed_at":"2015-09-10T02:54:43Z","body":"When I'm running `gulp watch`, sometimes 'homepage' task raises an ENOENT error. Don't know if this has something to do with the 'clean' task listed on the 'default' task dependencies.\r\n\r\n```bash\r\n[01:14:51] Starting 'clean'...\r\nClean all files in build folder\r\n[01:14:51] Starting 'css'...\r\nConcating and moving all the css files in css folder\r\n[01:14:51] Finished 'css' after 3.94 ms\r\n[01:14:51] Starting 'homepage'...\r\n[01:14:51] Starting 'javascript'...\r\nValidate, concat, uglify and move all the javascript files\r\n[01:14:51] 'homepage' errored after 39 ms\r\n[01:14:51] Error: ENOENT, stat '/home/danilo/dev/leanpub-gulp/build/index.html'\r\n    at Error (native)\r\n[01:14:51] Finished 'javascript' after 38 ms\r\n[01:14:51] Finished 'clean' after 51 ms\r\n```"},"comment":{"url":"https://api.github.com/repos/dflima/learn-gulp/issues/comments/139101662","html_url":"https://github.com/dflima/learn-gulp/issues/1#issuecomment-139101662","issue_url":"https://api.github.com/repos/dflima/learn-gulp/issues/1","id":139101662,"user":{"login":"dflima","id":248746,"avatar_url":"https://avatars.githubusercontent.com/u/248746?v=3","gravatar_id":"","url":"https://api.github.com/users/dflima","html_url":"https://github.com/dflima","followers_url":"https://api.github.com/users/dflima/followers","following_url":"https://api.github.com/users/dflima/following{/other_user}","gists_url":"https://api.github.com/users/dflima/gists{/gist_id}","starred_url":"https://api.github.com/users/dflima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dflima/subscriptions","organizations_url":"https://api.github.com/users/dflima/orgs","repos_url":"https://api.github.com/users/dflima/repos","events_url":"https://api.github.com/users/dflima/events{/privacy}","received_events_url":"https://api.github.com/users/dflima/received_events","type":"User","site_admin":false},"created_at":"2015-09-10T02:54:43Z","updated_at":"2015-09-10T02:54:43Z","body":"Fixed this using only 'clean' on 'default' dependency, and gulp.start() on 'default'.\r\n\r\nSee: https://github.com/dflima/learn-gulp/commit/df42e84c7cc19a4b3f6f5f083aa0492785b58f7e"}}