Is there a way to start the server without it automatically opening a tab? Something similar to webpack serve --no-open
Asked
Active
Viewed 38 times
2 Answers
2
You can set the IHP_BROWSER
environment variable to echo
before running the dev server:
export IHP_BROWSER=echo
./start
This is described in the IHP recipes:
https://ihp.digitallyinduced.com/Guide/recipes.html#dont-autoopen-the-app-in-the-browser

Lars Lillo Ulvestad
- 310
- 1
- 6
1
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

technoY2K
- 2,442
- 1
- 24
- 38