mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
hotfix: nuxt-start tries to build instead of starting (#4384)
This commit is contained in:
parent
0cd49492e0
commit
b12141b99a
@ -2,4 +2,7 @@
|
||||
const { name } = require('../package.json')
|
||||
const isEdge = name.indexOf('-edge') !== -1
|
||||
const cli = require(isEdge ? '@nuxt/cli-edge' : '@nuxt/cli')
|
||||
if (process.argv[2] !== 'start') {
|
||||
process.argv.splice(2, 0, 'start')
|
||||
}
|
||||
cli.run()
|
||||
|
Loading…
Reference in New Issue
Block a user