au run -o opens 2 chrome tabs
GimmeDaKitty opened this issue · comments
First of all, thank os community you for this awesome framework!
I'm submitting a bug report
- Library Version:
aurelia-cli v1.0.1
Environment
-
Operating System:
Windows 10 -
Node Version:
v10.15.3 -
NPM Version:
6.9.0 -
Browser:
Chrome Version 75.0.3770.100 (Official Build) (32-bit) -
Language:
Typescript 3.1 -
Loader/bundler:
Webpack
Current behavior:
When running au run -o
chrome opens 2 identical tabs with my aurelia project
-
What is the expected behavior?
I expect aurelia/chrome to open 1 tab with my aurelia project -
What is the motivation / use case for changing the behavior?
Not a big deal but it is annoying having to close one tab every time
I can reproduce the issue on Windows (not on mac). Don't know what's wrong with webpack-dev-server.
The option is directly passed to webpack-dev-server in aurelia-project/tasks/run.ts
open: project.platform.open || CLIOptions.hasFlag('open'),
@shahabganji found the cause in #1132, it's a duplicated effort in cli.