change sit-preview port

pull/27/head
Pan 8 years ago
parent 316c23c885
commit c82343ac01

@ -29,9 +29,10 @@ rm(path.join(config.build.assetsRoot, config.build.assetsSubDirectory), err => {
}) + '\n\n') }) + '\n\n')
console.log(chalk.cyan(' Build complete.\n')) console.log(chalk.cyan(' Build complete.\n'))
console.log('> Listening at ' + 'http://localhost:9528' + '\n')
if(process.env.npm_config_preview){ if(process.env.npm_config_preview){
server.start({ server.start({
port: 80, port: 9528,
directory: './dist', directory: './dist',
file: '/index.html' file: '/index.html'
}); });

Loading…
Cancel
Save