mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-02-07 07:28:28 -06:00
fix(cli-service): avoid opening browser twice
fixes #4079
(cherry picked from commit 47d56e998d)
This commit is contained in:
committed by
Haoqun Jiang
parent
9fe3448788
commit
79e4ba4fb3
@@ -164,7 +164,9 @@ module.exports = (api, options) => {
|
||||
api.service.devServerConfigFns.forEach(fn => fn(app, server))
|
||||
// apply in project middlewares
|
||||
projectDevServerOptions.before && projectDevServerOptions.before(app, server)
|
||||
}
|
||||
},
|
||||
// avoid opening browser
|
||||
open: false
|
||||
}))
|
||||
|
||||
;['SIGINT', 'SIGTERM'].forEach(signal => {
|
||||
|
||||
Reference in New Issue
Block a user