Next.js Discord

Discord Forum

Open the browser automatically and configure https

Unanswered
Siamese Crocodile posted this in #help-forum
Open in Discord
Siamese CrocodileOP
Hi guys, I'm using nx.dev to manage my monorepo and I have app with Next.js 14 (App router).
I'm trying to open the browser automatically when I'm running the dev server and in addition to have the app with https.
How can I do that?
Hope someone here worked with nx.dev before.
Thanks!

1 Reply

Hi, it's still in experimental mode but you can achieve it by executing the --experimental-https flag when running the local server as below:

npm run dev --experimental-https