{"action":"opened","issue":{"url":"https://api.github.com/repos/kmagiera/babel-watch/issues/6","repository_url":"https://api.github.com/repos/kmagiera/babel-watch","labels_url":"https://api.github.com/repos/kmagiera/babel-watch/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/kmagiera/babel-watch/issues/6/comments","events_url":"https://api.github.com/repos/kmagiera/babel-watch/issues/6/events","html_url":"https://github.com/kmagiera/babel-watch/issues/6","id":143983885,"number":6,"title":"\"SyntaxError: Unexpected token import\" when running babel-watch","user":{"login":"stoikerty","id":3392110,"avatar_url":"https://avatars.githubusercontent.com/u/3392110?v=3","gravatar_id":"","url":"https://api.github.com/users/stoikerty","html_url":"https://github.com/stoikerty","followers_url":"https://api.github.com/users/stoikerty/followers","following_url":"https://api.github.com/users/stoikerty/following{/other_user}","gists_url":"https://api.github.com/users/stoikerty/gists{/gist_id}","starred_url":"https://api.github.com/users/stoikerty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stoikerty/subscriptions","organizations_url":"https://api.github.com/users/stoikerty/orgs","repos_url":"https://api.github.com/users/stoikerty/repos","events_url":"https://api.github.com/users/stoikerty/events{/privacy}","received_events_url":"https://api.github.com/users/stoikerty/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-28T13:59:46Z","updated_at":"2016-03-28T13:59:46Z","closed_at":null,"body":"Unfortunately, the issue I mentioned in the PR https://github.com/kmagiera/babel-watch/issues/2 is still present. The command I'm running is:\r\n```\r\nbabel-watch --watch src --watch toolkit/webpack toolkit/webpack/development.js\r\n```\r\n\r\nThis is the error I get is:\r\n```js\r\nD:\\_repos\\universal-dev-toolkit\\src\\client\\views\\AppBody\\Component.js:1\r\n(function (exports, require, module, __filename, __dirname) { import React from 'react';\r\n                                                              ^^^^^^\r\n\r\nSyntaxError: Unexpected token import\r\n    at exports.runInThisContext (vm.js:53:16)\r\n    at Module._compile (module.js:404:25)\r\n    at Module._extensions..js (module.js:432:10)\r\n    at loader (D:\\_repos\\universal-dev-toolkit\\node_modules\\babel-watch\\runner.js:14:5)\r\n    at Object.require.extensions.(anonymous function) [as .js] (D:\\_repos\\universal-dev-toolkit\\node_modules\\babel-watch\\runner.js:22:7)\r\n    at Module.load (module.js:356:32)\r\n    at Function.Module._load (module.js:313:12)\r\n    at Module.require (module.js:366:17)\r\n    at require (module.js:385:17)\r\n    at Object.<anonymous> (AppBody.js:5:1)\r\n    at Module._compile (module.js:425:26)\r\n    at loader (D:\\_repos\\universal-dev-toolkit\\node_modules\\babel-watch\\runner.js:12:13)\r\n    at Object.require.extensions.(anonymous function) [as .js] (D:\\_repos\\universal-dev-toolkit\\node_modules\\babel-watch\\runner.js:22:7)\r\n    at Module.load (module.js:356:32)\r\n    at Function.Module._load (module.js:313:12)\r\n    at Module.require (module.js:366:17)\r\n    at require (module.js:385:17)\r\n```\r\n\r\nSee the [corresponding PR](https://github.com/stoikerty/universal-dev-toolkit/pull/3)."}}