Skip to content

Commit 14f854e

Browse files
fix(overmind): prevent showing warning when explicitly no devtools
1 parent d396445 commit 14f854e

File tree

1 file changed

+1
-1
lines changed
  • packages/node_modules/overmind/src

1 file changed

+1
-1
lines changed

packages/node_modules/overmind/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ export class Overmind<ThisConfig extends IConfiguration>
296296
proxyStateTree.sourceState,
297297
configuration.actions
298298
)
299-
} else {
299+
} else if (options.devtools !== false) {
300300
warning +=
301301
'\n\n - You are not running on localhost. You will have to manually define the devtools option to connect'
302302
}

0 commit comments

Comments
 (0)