From b56aa0d016bd4adb0b381cb6d0860444a4ec3ec8 Mon Sep 17 00:00:00 2001 From: ray Date: Thu, 10 Jun 2021 18:44:01 +0100 Subject: [PATCH] do not open browser when runnig devServer --- README.md | 1 + webpack.config.js | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index 9c4b346..59aac6b 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ A basic boilerplate for a Three.js project including the use of Webpack and ES6 ## This Fork * Replace `node-sass` with `sass`. +* Do not open browser when running `devServer`. ## Project Structure ``` diff --git a/webpack.config.js b/webpack.config.js index 2623f66..e9ac600 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -129,6 +129,7 @@ module.exports = env => { devServer: { static: 'src/public', + open: false, }, plugins: plugins.concat(