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
52 Views Asked by technoY2K At
        	2
        	
        There are 2 best solutions below
0
                 On
                        
                            
                        
                        
                            On
                            
                                                    
                    
                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_BROWSERenvironment variable toechobefore 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