You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 15, 2017. It is now read-only.
Hello! Thanks for making this! I noticed that whenever eslint tries to warn or error, the message appears on the console and on the browser. I was wondering if there was a way to prevent it from appearing on the browser. I'm kind of new to React/ES6/Babel so I'm not sure how to go about this.
The text was updated successfully, but these errors were encountered:
configured the dev-server overlay to only show errrors
overlay: {warnings: false,errors: true},
That way, you only see real errros in the overlay, while warnings log to the console/terminal only. This allows HMR to update the page even when warnings exist.
I personally think that's a better workflow during development, as warnings are nor something you have to fix immediatly, so I rather stay in the flow and fix them later. The overlay forces me to fix them immediatly, breaking the flow.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello! Thanks for making this! I noticed that whenever eslint tries to warn or error, the message appears on the console and on the browser. I was wondering if there was a way to prevent it from appearing on the browser. I'm kind of new to React/ES6/Babel so I'm not sure how to go about this.
The text was updated successfully, but these errors were encountered: