Warning prevents reload
See original GitHub issueDo you want to request a feature or report a bug?
Bug
What is the current behavior?
⚠ http://eslint.org/docs/rules/no-console Unexpected console statement
.../src/index.js:60:1
console.log('foo');
^
✘ 1 problem (0 errors, 1 warning)
[WDS] App updated. Recompiling...
client?843a:40 [WDS] Errors while compiling. Reload prevented.
I’ve seen previous issues where this is considered a bug (such as #707) and was fixed and closed at the time.
If the current behavior is a bug, please provide the steps to reproduce.
Add a warning scenario with ESLint and trigger it.
What is the expected behavior?
The browser reloads after file changes that do not cause any actual errors.
If this is a feature request, what is motivation or use case for changing the behavior?
Please mention your webpack and Operating System version.
OS - Arch Linux webpack - 2.2.1 webpack-dev-server - 2.3.0
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Prevent refresh of page after alert - javascript - Stack Overflow
I am successful on that, but if the alert kicks in, the page refresh and since i am using a pop up, this...
Read more >Preventing the "Reload this page to use this extension" warning
I'm looking at updating my current manifest v2 extension to be more compliant with the more restrictive permissions that are planned as part ......
Read more >"LUA Warning" window keeps appearing after using /reload ...
But as soon as I reloaded the UI, I've been getting a “LUA Warning” message that's filled with information I don't understand. T…...
Read more >How to catch beforeunload and stop page to reload without alert
Hi, I'd like to add functionality, when it has been change and user clicks some link on the page it warns him about...
Read more >preventing URL reload | OutSystems
Instead of alert, you have to return "True" or "false", like: $(window).on('popstate', function(event) { return true; });. and then send the user to...
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

@mnpenner https://github.com/MoOx/eslint-loader#emitwarning-default-false
Errors while compiling. Reload prevented.