{"action":"created","issue":{"url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/issues/469","labels_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/issues/469/labels{/name}","comments_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/issues/469/comments","events_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/issues/469/events","html_url":"https://github.com/davezuko/react-redux-starter-kit/issues/469","id":127106267,"number":469,"title":"error when serving compiled project from dist","user":{"login":"divramod","id":1331662,"avatar_url":"https://avatars.githubusercontent.com/u/1331662?v=3","gravatar_id":"","url":"https://api.github.com/users/divramod","html_url":"https://github.com/divramod","followers_url":"https://api.github.com/users/divramod/followers","following_url":"https://api.github.com/users/divramod/following{/other_user}","gists_url":"https://api.github.com/users/divramod/gists{/gist_id}","starred_url":"https://api.github.com/users/divramod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/divramod/subscriptions","organizations_url":"https://api.github.com/users/divramod/orgs","repos_url":"https://api.github.com/users/divramod/repos","events_url":"https://api.github.com/users/divramod/events{/privacy}","received_events_url":"https://api.github.com/users/divramod/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-17T16:33:33Z","updated_at":"2016-01-17T16:36:52Z","closed_at":null,"body":"Hey, i ran \r\n```\r\nNODE_ENV=development npm run compile\r\n```\r\n\r\nand served the directory then by a simple static koa server.\r\nin the browser console i got the following error.\r\ni didnt changed a file.\r\n\r\n```\r\nResource interpreted as Stylesheet but transferred with MIME type text/html: \"http://localhost:3041/app.f274289f0fc6393db73ed95c1e158221.css\".\r\nvendor.f72d2a38e02b954cdf0e.js:1 Uncaught SyntaxError: Unexpected token <\r\napp.8fef3419aa6737a759ef.js:1 Uncaught SyntaxError: Unexpected token <\r\n```\r\n\r\nany hints?\r\nrunning \r\n```\r\nnpm start\r\n```\r\n\r\ngave no problems."},"comment":{"url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/issues/comments/172347596","html_url":"https://github.com/davezuko/react-redux-starter-kit/issues/469#issuecomment-172347596","issue_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/issues/469","id":172347596,"user":{"login":"davezuko","id":6439050,"avatar_url":"https://avatars.githubusercontent.com/u/6439050?v=3","gravatar_id":"","url":"https://api.github.com/users/davezuko","html_url":"https://github.com/davezuko","followers_url":"https://api.github.com/users/davezuko/followers","following_url":"https://api.github.com/users/davezuko/following{/other_user}","gists_url":"https://api.github.com/users/davezuko/gists{/gist_id}","starred_url":"https://api.github.com/users/davezuko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davezuko/subscriptions","organizations_url":"https://api.github.com/users/davezuko/orgs","repos_url":"https://api.github.com/users/davezuko/repos","events_url":"https://api.github.com/users/davezuko/events{/privacy}","received_events_url":"https://api.github.com/users/davezuko/received_events","type":"User","site_admin":false},"created_at":"2016-01-17T16:36:52Z","updated_at":"2016-01-17T16:36:52Z","body":"I need to document this, but this changed after a recent refactor. Currently you cannot compile with a NODE_ENV of `development`, since HMR will be enabled. Can you please try:\r\n\r\n```\r\nNODE_ENV=production npm run compile && npm start\r\n```\r\n\r\nSorry for the hassle/confusion, I have a backlog task to fix up the README."}}