Use webpack-dev-middleware along with html-webpack-plugin in dev mode, HMR enabled
webapck
Webpack-dev-server is sweet, but when you have some routes in your back end and have to handle them with other logic instead just redirect them to your spa, webpack-dev-middleware may be one of your options.
We can use webpack-dev-middleware ...
blog.lbj.moe2 min read