Skip to content

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

@marcofugaro

Description

@marcofugaro

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.

Metadata

Metadata

Labels

bugSomething isn't workingplan fixPlanning to discuss & fix

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions