Closed doubleKGe closed 5 years ago
duplicate: #4032
duplicate: #4032
Sorry for a late reply, but this is not a duplicate issue. The issue @LinusBorg referenced is not even similar to this one.
As I understand this one, though it does lack quite a lot of info and it's not really well-documented, it is stating that when in environment (very poorly) described above, and if the devServer.open
is set to true
in vue.config.js
file, the VueCli might open two new tabs instead of just one.
While the referenced issue ( #4032 ) is related to a totally unrelated fact, that the "open app" button in VueCli-UI under the :serve
action tab opens a new tab for localhost
host and not the one that the UI is actually accessed from.
Please correct me if I'm wrong or if there's a need for further explanation.
@aljaxus Yes , the VueCli would open two tabs in browser if devServer.open
is setted to true in vue.config.js
file. And this is the first time I have encountered this problem since the updated version from 3.5.0
to 3.8.0
I'm pretty sure there was another issue about this but it seems I linked the wrong one.
I'll reopen now and check later
Fixed in 3.8.3
Version
3.8.0
Environment info
Steps to reproduce
set 'devServer.open' to true in vue.config.js and run 'vue-cli-service serve'
What is expected?
fix this bug
What is actually happening?
when I set 'devServer.open': true in vue.config.js, vue-cli may open browser twice auto