From c82343ac01247d72b5dc0149feac47cab02933d3 Mon Sep 17 00:00:00 2001 From: Pan Date: Wed, 3 May 2017 13:01:21 +0800 Subject: [PATCH] change sit-preview port --- build/build.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/build.js b/build/build.js index 2b625953..6ea4e408 100644 --- a/build/build.js +++ b/build/build.js @@ -29,9 +29,10 @@ rm(path.join(config.build.assetsRoot, config.build.assetsSubDirectory), err => { }) + '\n\n') console.log(chalk.cyan(' Build complete.\n')) + console.log('> Listening at ' + 'http://localhost:9528' + '\n') if(process.env.npm_config_preview){ server.start({ - port: 80, + port: 9528, directory: './dist', file: '/index.html' });