Livereload breaks after running clean script
See original GitHub issueSteps to Reproduce
git clone https://github.com/mxstbr/react-boilerplate.git && cd react-boilerplatenpm installnpm run cleannpm start- Open editor and browser
- Make a change (e.g., change “This is a Homepage!” to “Testing”)
Expected results
The view in the browser updates with the new value
Actual results
The browser does not update until you manually refresh
Details
- Livereload does work before running
npm run clean - Using node
5.3.0
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Disable livereload in grunt (yeoman) - Stack Overflow
When I run grunt serve, it automatically injects the following code in in the index.html. <script src="http://x.x.x.x:35729/livereload.js?
Read more >Live reload doesn't work · Issue #2719 · ionic-team/ionic-cli
If it is working for a new app, then something broke it in your project and it's impossible for me to know what...
Read more >Clean and simple hot-reloading on uninterrupted go ... - ITNEXT
In this article, we will learn how to hot-reload any application component without stopping a running Go app, in an easy, well-structured, ...
Read more >How to Enable Live-reload on Docker-based Applications with ...
In this post you'll learn how to configure a development environment with live-reload enabled. This will allow you to convert a legacy ...
Read more >CLI - Docusaurus
docusaurus clear [siteDir] . Clear a Docusaurus site's generated assets, caches, build artifacts. We recommend running this command before ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

That’s because stateless components are currently not hot reloadable, and after running
npm run cleanall components are stateless ones.Nothing we can currently fix I’m afraid, but you can change that on your side by changing the component you want to hot reload to
classorcreateClassnotation! 👍This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.