Commit 1457be55 authored by 周健威's avatar 周健威

Update build.js

parent c6b9ba0e
......@@ -31,11 +31,11 @@ rm(path.join(config.build.assetsRoot, config.build.assetsSubDirectory), err => {
console.log(chalk.cyan(' Build complete.\n'))
if(process.env.npm_config_preview){
server.start({
port: 9528,
port: 19528,
directory: './dist',
file: '/index.html'
});
console.log('> Listening at ' + 'http://localhost:9528' + '\n')
console.log('> Listening at ' + 'http://localhost:19528' + '\n')
}
})
})
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment