live-server
live-server copied to clipboard
Pass args to browser
To test the webpage in a all clear environment, I always pass the '--incognito' args to Chrome. Live-server would be a good choice for quick test without any dependencies, but I can't open Chrome by incognito mode automatically.
I found that the opn module used in this work supports this function:
opn('http://sindresorhus.com', {app: ['google chrome', '--incognito']});
Would you mind to add a CLI parameter for this?
I need to open the chrome in incognito mode but I couldn't find a solution, I tried: live-server --browser="google chrome --incognito" but It didn't work. Any thoughts how can I solve this?