{"action":"created","issue":{"url":"https://api.github.com/repos/Industrial/webpack-hot-server-middleware/issues/1","repository_url":"https://api.github.com/repos/Industrial/webpack-hot-server-middleware","labels_url":"https://api.github.com/repos/Industrial/webpack-hot-server-middleware/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Industrial/webpack-hot-server-middleware/issues/1/comments","events_url":"https://api.github.com/repos/Industrial/webpack-hot-server-middleware/issues/1/events","html_url":"https://github.com/Industrial/webpack-hot-server-middleware/pull/1","id":304930700,"number":1,"title":"Fixup failing unit tests","user":{"login":"richardscarrott","id":539309,"avatar_url":"https://avatars1.githubusercontent.com/u/539309?v=4","gravatar_id":"","url":"https://api.github.com/users/richardscarrott","html_url":"https://github.com/richardscarrott","followers_url":"https://api.github.com/users/richardscarrott/followers","following_url":"https://api.github.com/users/richardscarrott/following{/other_user}","gists_url":"https://api.github.com/users/richardscarrott/gists{/gist_id}","starred_url":"https://api.github.com/users/richardscarrott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardscarrott/subscriptions","organizations_url":"https://api.github.com/users/richardscarrott/orgs","repos_url":"https://api.github.com/users/richardscarrott/repos","events_url":"https://api.github.com/users/richardscarrott/events{/privacy}","received_events_url":"https://api.github.com/users/richardscarrott/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-13T20:51:03Z","updated_at":"2018-03-13T21:49:49Z","closed_at":"2018-03-13T21:02:17Z","author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/Industrial/webpack-hot-server-middleware/pulls/1","html_url":"https://github.com/Industrial/webpack-hot-server-middleware/pull/1","diff_url":"https://github.com/Industrial/webpack-hot-server-middleware/pull/1.diff","patch_url":"https://github.com/Industrial/webpack-hot-server-middleware/pull/1.patch"},"body":"Hi @Industrial, I took a look at failing unit tests and fixed them up here, if you merge this in then I think your PR can be merged into 60frames/webpack-hot-server-middleware 👍 "},"comment":{"url":"https://api.github.com/repos/Industrial/webpack-hot-server-middleware/issues/comments/372830547","html_url":"https://github.com/Industrial/webpack-hot-server-middleware/pull/1#issuecomment-372830547","issue_url":"https://api.github.com/repos/Industrial/webpack-hot-server-middleware/issues/1","id":372830547,"user":{"login":"Industrial","id":3317,"avatar_url":"https://avatars2.githubusercontent.com/u/3317?v=4","gravatar_id":"","url":"https://api.github.com/users/Industrial","html_url":"https://github.com/Industrial","followers_url":"https://api.github.com/users/Industrial/followers","following_url":"https://api.github.com/users/Industrial/following{/other_user}","gists_url":"https://api.github.com/users/Industrial/gists{/gist_id}","starred_url":"https://api.github.com/users/Industrial/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Industrial/subscriptions","organizations_url":"https://api.github.com/users/Industrial/orgs","repos_url":"https://api.github.com/users/Industrial/repos","events_url":"https://api.github.com/users/Industrial/events{/privacy}","received_events_url":"https://api.github.com/users/Industrial/received_events","type":"User","site_admin":false},"created_at":"2018-03-13T21:49:49Z","updated_at":"2018-03-13T21:49:49Z","author_association":"OWNER","body":"@richardscarrott Hi!\r\n\r\nWould you mind helping me with a problem? I think you are more an expert on webpack then I :-)\r\n\r\nI needed this change to be able to run my new setup: Babel7 (+ TypeScript), Webpack4, React + Redux, SSR and HMR (universal).\r\n\r\nCould you please try `git clone https://github.com/Industrial/universal-demo; cd universal-demo; npm i; npm run start;` and then open `http://localhost:3000` ?\r\n\r\nI am getting the error\r\n\r\n```\r\nError: The 'server' compiler must export a function in the form of `(options) => (req, res, next) => void`\r\n    at getServerRenderer (/home/tom/Code/Code9/JavaScript/Projects/universal-demo/node_modules/webpack-hot-server-middleware/src/index.js:68:15)\r\n    at doneHandler (/home/tom/Code/Code9/JavaScript/Projects/universal-demo/node_modules/webpack-hot-server-middleware/src/index.js:159:30)\r\n    at SyncHook.eval (eval at create (/home/tom/Code/Code9/JavaScript/Projects/universal-demo/node_modules/tapable/lib/HookCodeFactory.js:17:12), <anonymous>:9:1)\r\n    at SyncHook.lazyCompileHook [as _call] (/home/tom/Code/Code9/JavaScript/Projects/universal-demo/node_modules/tapable/lib/Hook.js:35:21)\r\n    at MultiCompiler.compiler.hooks.done.tap.stats (/home/tom/Code/Code9/JavaScript/Projects/universal-demo/node_modules/webpack/lib/MultiCompiler.js:45:22)\r\n    at AsyncSeriesHook.eval [as callAsync] (eval at create (/home/tom/Code/Code9/JavaScript/Projects/universal-demo/node_modules/tapable/lib/HookCodeFactory.js:24:12), <anonymous>:18:1)\r\n    at AsyncSeriesHook.lazyCompileHook [as _callAsync] (/home/tom/Code/Code9/JavaScript/Projects/universal-demo/node_modules/tapable/lib/Hook.js:35:21)\r\n    at Watching._done (/home/tom/Code/Code9/JavaScript/Projects/universal-demo/node_modules/webpack/lib/Watching.js:99:28)\r\n    at compiler.emitRecords.err (/home/tom/Code/Code9/JavaScript/Projects/universal-demo/node_modules/webpack/lib/Watching.js:73:19)\r\n    at Compiler.emitRecords (/home/tom/Code/Code9/JavaScript/Projects/universal-demo/node_modules/webpack/lib/Compiler.js:295:39)\r\n```\r\n\r\nI don't know what I'm doing wrong anymore :-("}}
{"actor":{"display_login":"Industrial"}}