We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff57b8f commit 855da76Copy full SHA for 855da76
packages/@vue/cli-ui-addon-webpack/src/mixins/Dashboard.js
@@ -43,7 +43,7 @@ export default {
43
},
44
45
created () {
46
- const mode = this.mode = this.TaskDetails.task.command.indexOf('vue-cli-service serve') !== -1 ? 'serve' : 'build'
+ const mode = this.mode = this.TaskDetails.task.command.match(/vue-cli-service\s+(\S+)/)[1]
47
this.$store.commit('mode', mode)
48
if (mode === 'build') {
49
this.syncMode('build-modern')
0 commit comments