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
When errors occur within files within directories, the errors are reported on the command line and in the browser (this is good!). However, when the error has been resolved by removing the offending files, the errors do not go away.
Reproduction steps
Start a new site using gatsby new
Start the development server and navigate to a working page in the browser
Add a folder under pages with a JavaScript with an error in it (for instance, import blah from 'blah' - an import of a non-existent package)
The error appears in the browser and the command line
Remove the folder again
Refresh the page in the browser a bunch of times - the error appears intermittently until gatsby develop
Motivation
To prevent confusion about false negative error reporting.
Maybe this is more of a bug than a feature request actually...
karlhorky
changed the title
Recover from solved errors without restarting develop
Recover from solved errors in nested files without restarting developJul 15, 2019
Summary
When errors occur within files within directories, the errors are reported on the command line and in the browser (this is good!). However, when the error has been resolved by removing the offending files, the errors do not go away.
Reproduction steps
gatsby new
import blah from 'blah'
- an import of a non-existent package)gatsby develop
Motivation
To prevent confusion about false negative error reporting.
Related
Maybe related to #14395
The text was updated successfully, but these errors were encountered: