-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to prevent REACT_EDITOR from opening when application crashes in development? #3706
Comments
Setting REACT_EDITOR to It does print the following error message, which I'd also like to disable, if possible.
|
Happy to take a PR that disables the message specifically for the |
i would like to give it a shot and solve this. |
Sounds good |
Fixed by #3721 |
This is out in |
Is this a bug report?
Not really.
Which terms did you search for in User Guide?
REACT_EDITOR, editor
I'm using Vim as my editor, which is highly relevant to the problem I'm having. When my application crashes and presents me with an error screen, and I happen to click on the code displayed, the terminal which is running
npm run start
tries to open the file in Vim.I do not want this to ever happen, because the terminal that the watch process runs in is tiny, the Vim instance it launches isn't even running my Vim config, and when I exit the instance, the output of
npm run start
is often ruined (line breaks break, everything just goes full word wrap) until I restart the watcher. Lint errors and so on pretty much become unreadable.While the feature probably is useful if you use an editor like VS Code, it grinds gears for users like me ;)
I tried setting REACT_EDITOR as false in .env, but it didn't work.
TL;DR: I want that
npm run start
only ever displays me build errors and warnings, and does not run any interactive programs.The text was updated successfully, but these errors were encountered: