barbushin / javascript-errors-notifier

Google Chrome and Firefox extension that notifies about JavaScritp errors by icon in address bar & popups
MIT License
205 stars 62 forks source link

Not working with webpack dev-server #83

Open niaodan2b opened 6 years ago

niaodan2b commented 6 years ago

I'm writing Vue projects, and I use webpack to hot-build and serve pages on localhost when developing. However it seems javascript-errors-notifier doesn't detect any error within my pages.

I guess it has something to do with webpack, since once I build and deploy the project into production, it just works. I made a demo page to reproduce this, where you can see errors in chrome console, but the extension doesn't catch anything: (the app.js file is produced by webpack so is a bit large and hard to read) https://niaodan2b.github.io/test-error/test.html

alphabt commented 5 years ago

+1. If this can be worked with webpack-dev-server this tool will be a great addition to my project!

wanderingstan commented 5 years ago

+1.

I'm wondering if there's something fundamentally different about the ways webpack errors are generated.

I will dig into the code but happy to hear if anyone who knows more can comment.

Danita commented 5 years ago

+1 Not working. If I compile static assets works OK. Has anybody found a solution or an alternative to this extension?

PierBJX commented 5 years ago

It works with webpack. It is because it does not handle this kind of errors