question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Live Reloading stop working if main file throws exception

See original GitHub issue

STR:

  • install webpack, webpack-cli, webpack-dev-server
  • create src/index.js with content foo;
  • run webpack serve --mode development

ER: Live reload should work even if main entry point has an error AR: Exception, stop execution and don’t reach code which setup live reload connection

Sample project: project.zip

https://user-images.githubusercontent.com/616193/116120952-c8f37300-a6c8-11eb-9c6d-6e102021380d.mov

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
alexander-akaitcommented, Apr 26, 2021

Yep, works fine with "webpack-dev-server": "^4.0.0-beta.2", stable release will be soon

0reactions
alexander-akaitcommented, Jul 27, 2021

Let’s close, rc out, stable will be on the next week

Read more comments on GitHub >

github_iconTop Results From Across the Web

Webpack Live Reloading broke when I moved from .NET 3.1 ...
NET Core 3.1 to .NET 5.0.1 the live reloading stopped working. On Chrome I get a warning, and the associated log is found...
Read more >
webpack-dev-server hot reload not working - Stack Overflow
It seems webpack-dev-server gets confused when it sees dist/bundle.js in the html file and doesn't hot replace it, even though webpack.config.js is configured ......
Read more >
Why webpack-dev-server Live-Reload Is Not Working - Medium
When I modify javascript files, I have to manually run Webpack CLI to see changes to bundle.js in the local filesystem, and bundle.js...
Read more >
Difference between Hot Reloading and Live ... - GeeksforGeeks
Live reloading will reload the whole app and completely reinitialize the state. It only reloads the file that changed. It reloads the whole...
Read more >
Live Reloading Server And Client Side ASP.NET Core Apps ...
Personally, I use almost explicitly for running my .NET application during development with the exception when I'm explicitly debugging code.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found