Skip to content
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

Devtools: add the option to fail silently if port wasn't found #535

Open
marcofugaro opened this issue Jul 30, 2021 · 2 comments
Open

Devtools: add the option to fail silently if port wasn't found #535

marcofugaro opened this issue Jul 30, 2021 · 2 comments
Assignees
Labels
bug Something isn't working plan fix Planning to discuss & fix

Comments

@marcofugaro
Copy link

Hey, currently in our project, we use the devtools like this:

export const overmind = createOvermind(config, {
  devtools: process.env.NODE_ENV === 'development',
});

And we use the VSCode extension to access the devtools.

However sometimes, we might not be working on the state, and therefore we don't have the devtools open.

This results in the classic error log polluting the console:
Screenshot 2021-07-30 at 12 10 20

Would be useful if we could have an option to tell the devtools to "fail silently" if no port was found.

@marcofugaro marcofugaro added the bug Something isn't working label Jul 30, 2021
@grandevel
Copy link
Collaborator

See PR already here - #533

@marcofugaro
Copy link
Author

Thanks! Would like for this to be configurable as well, however with an option for "don't show anything at all"

@grandevel grandevel added the plan fix Planning to discuss & fix label Sep 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working plan fix Planning to discuss & fix
Projects
None yet
Development

No branches or pull requests

3 participants