diff --git a/.cracorc.js b/.cracorc.js index fbfcfb5..77923e3 100644 --- a/.cracorc.js +++ b/.cracorc.js @@ -2,7 +2,7 @@ const { ServiceRegister } = require("configuration"); module.exports = { devServer: (devServerConfig) => { - devServerConfig.open = false; + devServerConfig.port = "auto"; devServerConfig.onListening = function (devServer) { if (!devServer) { throw new Error("webpack-dev-server is not defined"); diff --git a/.vscode/launch.json b/.vscode/launch.json index c114f8c..73823c4 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -8,7 +8,7 @@ "name": "chrome", "type": "chrome", "request": "launch", - "url": "http://fennec.localhost/", + "url": "http://fennec.localhost:7070/", "webRoot": "${workspaceFolder}", "userDataDir": ".vscode/chrome" } diff --git a/package.json b/package.json index 613ece3..76e8e21 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "yup": "^0.32.9" }, "scripts": { - "start": "craco start", + "start": "BROWSER=none craco start", "build": "craco build", "test": "craco test", "prestart": "npm run graphql",