Is there a way to start the server without it automatically opening a tab? Something similar to webpack serve --no-open
Prevent IHP RunDevServer from automatically opening a window or tab
50 Views Asked by technoY2K At
2
There are 2 best solutions below
0

Adding a little more to the accepted answer.
The answer can be found on the Recipes page in the Documentation along with other helpful best-practice solutions. Another solution is to append export IHP_BROWSER=echo
to the local .envrc
file.
// .envrc
PATH_add /nix/store/...
export IHP_BROWSER=echo
You can set the
IHP_BROWSER
environment variable toecho
before running the dev server:This is described in the IHP recipes:
https://ihp.digitallyinduced.com/Guide/recipes.html#dont-autoopen-the-app-in-the-browser