{"action":"opened","issue":{"url":"https://api.github.com/repos/cdig/svg-activity-starter/issues/11","labels_url":"https://api.github.com/repos/cdig/svg-activity-starter/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/cdig/svg-activity-starter/issues/11/comments","events_url":"https://api.github.com/repos/cdig/svg-activity-starter/issues/11/events","html_url":"https://github.com/cdig/svg-activity-starter/issues/11","id":123333354,"number":11,"title":"Minor race condition in \"default\" task.","user":{"login":"ivanreese","id":2061924,"avatar_url":"https://avatars.githubusercontent.com/u/2061924?v=3","gravatar_id":"","url":"https://api.github.com/users/ivanreese","html_url":"https://github.com/ivanreese","followers_url":"https://api.github.com/users/ivanreese/followers","following_url":"https://api.github.com/users/ivanreese/following{/other_user}","gists_url":"https://api.github.com/users/ivanreese/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanreese/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanreese/subscriptions","organizations_url":"https://api.github.com/users/ivanreese/orgs","repos_url":"https://api.github.com/users/ivanreese/repos","events_url":"https://api.github.com/users/ivanreese/events{/privacy}","received_events_url":"https://api.github.com/users/ivanreese/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-21T18:33:30Z","updated_at":"2015-12-21T18:33:30Z","closed_at":null,"body":"You should run the \"serve\" task only after all other tasks have finished. However, dependent tasks are run in parallel, which causes a race.\r\n\r\nHere's what you have:\r\n\r\n```coffeescript\r\ngulp.task \"default\", [\"coffee\",\"svg-activity-coffee\",\"svg-compile\", \"dev\", \"kit\", \"sass\", \"serve\"], ()->\r\n  # ...\r\n```\r\n\r\nHere's a workaround:\r\n\r\n```coffeescript\r\ngulp.task \"default\", [\"coffee\",\"svg-activity-coffee\",\"svg-compile\", \"dev\", \"kit\", \"sass\"], ()->\r\n  # ...\r\n  run_sequence \"serve\" # Must come last\r\n```\r\n\r\nSee [here](https://github.com/cdig/cd-module-starter/blob/v2/dist/gulpfile.coffee#L215-L221) for an example."}}