trufflesuite / truffle

:warning: The Truffle Suite is being sunset. For information on ongoing support, migration options and FAQs, visit the Consensys blog. Thank you for all the support over the years.
https://consensys.io/blog/consensys-announces-the-sunset-of-truffle-and-ganache-and-new-hardhat?utm_source=github&utm_medium=referral&utm_campaign=2023_Sep_truffle-sunset-2023_announcement_
MIT License
14.02k stars 2.31k forks source link

Allow Truffle Dashboard to run without launching a browser window automatically #6096

Closed cliffoo closed 1 year ago

cliffoo commented 1 year ago

Addresses #6095

It can be useful in some environments to not want Dashboard to open in browser on start.

To test:

CLI value takes precedence.

gnidan commented 1 year ago

For the CLI, we should just call this --no-auto-open. Or at least make it kebab-case!

cliffoo commented 1 year ago

Maybe just open everywhere, config and cli?

cliffoo commented 1 year ago

Ok --no-auto-open gets parsed as {"auto-open": false, autoOpen: false} and I'm going to assume that's a consistent behavior.