Open phiresky opened 7 years ago
I switched to the "webpack-koa2-middleware" package for the "devMiddleware". The usage is exactly the same, it's a simple drop in. This fixed my issue. I noticed that the new package does not respond to requests until Webpack has finished building. I suggest that this package should do the same to avoid this issue. Thanks!
The browser gets a
Not Found
response, the server crashes withEven though webpack says
webpack: wait until bundle finished: /
I've included the middleware as follows:
I'm using