{"action":"created","issue":{"url":"https://api.github.com/repos/zurb/foundation-cli/issues/33","repository_url":"https://api.github.com/repos/zurb/foundation-cli","labels_url":"https://api.github.com/repos/zurb/foundation-cli/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/zurb/foundation-cli/issues/33/comments","events_url":"https://api.github.com/repos/zurb/foundation-cli/issues/33/events","html_url":"https://github.com/zurb/foundation-cli/issues/33","id":147799726,"number":33,"title":"Babel error only appears with foundation watch command","user":{"login":"colin-marshall","id":4453733,"avatar_url":"https://avatars.githubusercontent.com/u/4453733?v=3","gravatar_id":"","url":"https://api.github.com/users/colin-marshall","html_url":"https://github.com/colin-marshall","followers_url":"https://api.github.com/users/colin-marshall/followers","following_url":"https://api.github.com/users/colin-marshall/following{/other_user}","gists_url":"https://api.github.com/users/colin-marshall/gists{/gist_id}","starred_url":"https://api.github.com/users/colin-marshall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colin-marshall/subscriptions","organizations_url":"https://api.github.com/users/colin-marshall/orgs","repos_url":"https://api.github.com/users/colin-marshall/repos","events_url":"https://api.github.com/users/colin-marshall/events{/privacy}","received_events_url":"https://api.github.com/users/colin-marshall/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-12T16:06:38Z","updated_at":"2016-04-12T16:21:52Z","closed_at":null,"body":"A user in zurb/foundation-sites#8560 discovered that when you run `foundation watch` you get the following error:\r\n`Failed to load external module babel-register`.\r\n\r\nIt follows that error with:\r\n `Requiring external module babel-core/register`\r\n\r\nAfter that it runs as expected. This does not happen, when you clone a template, or when you simply run `gulp` from inside CLI project instead of `foundation watch`. My best guess for why this happens only on `foundation watch` with the CLI is because the `foundation` command is being run globally and it looks for `babel-register` there instead of locally on the first attempt to find it."},"comment":{"url":"https://api.github.com/repos/zurb/foundation-cli/issues/comments/208988952","html_url":"https://github.com/zurb/foundation-cli/issues/33#issuecomment-208988952","issue_url":"https://api.github.com/repos/zurb/foundation-cli/issues/33","id":208988952,"user":{"login":"colin-marshall","id":4453733,"avatar_url":"https://avatars.githubusercontent.com/u/4453733?v=3","gravatar_id":"","url":"https://api.github.com/users/colin-marshall","html_url":"https://github.com/colin-marshall","followers_url":"https://api.github.com/users/colin-marshall/followers","following_url":"https://api.github.com/users/colin-marshall/following{/other_user}","gists_url":"https://api.github.com/users/colin-marshall/gists{/gist_id}","starred_url":"https://api.github.com/users/colin-marshall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colin-marshall/subscriptions","organizations_url":"https://api.github.com/users/colin-marshall/orgs","repos_url":"https://api.github.com/users/colin-marshall/repos","events_url":"https://api.github.com/users/colin-marshall/events{/privacy}","received_events_url":"https://api.github.com/users/colin-marshall/received_events","type":"User","site_admin":false},"created_at":"2016-04-12T16:21:52Z","updated_at":"2016-04-12T16:21:52Z","body":"@ademers is this occurring on a fresh install of 6.2.1 via CLI?"}}