When I run ntl dev
two browser tabs are opened, one with the port and one with the target port.
This behaviour started after I updated my netlify-cli (netlify-cli/2.63.2 linux-x64 node-v12.18.1
).
I’m wondering now if this is a “bug”, or a misconfiguration.
This is my netlify.toml
:
[build]
command = "npm run build"
publish = "dist"
[context.production]
environment = { NODE_VERSION = "12.18.1", NODE_ENV = "production" }
[dev]
command = "npm start"
publish = "build"
port = 3000
targetPort = 8080
framework = "#custom"
NODE_ENV = "development"
Thanks in advance!