21 Oct 2019, 9:58 AM
Hi,
I am using ExtAngular 7, and I want to not automatically open browser tab whenever I start my local server.
In webpack.config.js, I tried to set open: false for devServer block:
devServer: {
contentBase: outputFolder,
historyApiFallback: true,
hot: !isProd,
host: '0.0.0.0',
port: port,
open: false,
disableHostCheck: false,
compress: isProd,
inline: !isProd,
stats: 'none'
}
However, when I start, ext plugin will still open new browser tab:
ℹ 「ext」: Opening browser at http://localhost:4501
ℹ 「ext」: Ending development build for angular
ℹ 「wdm」: Compiled successfully.
I am using ExtAngular 7, and I want to not automatically open browser tab whenever I start my local server.
In webpack.config.js, I tried to set open: false for devServer block:
devServer: {
contentBase: outputFolder,
historyApiFallback: true,
hot: !isProd,
host: '0.0.0.0',
port: port,
open: false,
disableHostCheck: false,
compress: isProd,
inline: !isProd,
stats: 'none'
}
However, when I start, ext plugin will still open new browser tab:
ℹ 「ext」: Opening browser at http://localhost:4501
ℹ 「ext」: Ending development build for angular
ℹ 「wdm」: Compiled successfully.