When using react.js webpack-dev-server does not bundle
When using react.js, do you run webpack-dev-server and find that when you change your files, webpack-dev-server does not automatically rebundle your project? Instead you find yourself having to run webpack -d --watch along with webpack-dev-server in order for changes to your files to be visible?
This seems to be a rather common issue, it even has a bug filed against webpack-dev-server for this issue and the conversation on that bug report started in 2014 and is still going on to this day.
For the maintainers part, they have repeatedly mentioned on this thread that:
The webpack-dev-server doesn’t write to disk. It serves the result from memory.
However people don’t seem to get what this means and the thread goes on and on with people reporting a similar issue. If you find yourself on this page because you have a similar problem, read on and hopefully I’ll be able to explain this one.
When does this happen?
Continue reading "When using react.js webpack-dev-server does not bundle" on my Medium blog.
Vice President @ SmartRecruiters | Helping Talent Leaders invest in the future of AI recruiting.
7yNice one Ali!!!