From c96151deecbe7455ab8d799e8c05011f46874627 Mon Sep 17 00:00:00 2001
From: Pan <panfree23@gmail.com>
Date: Tue, 9 May 2017 18:55:07 +0800
Subject: [PATCH] refine build.js

---
 build/build.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/build/build.js b/build/build.js
index 6ea4e408..da9522a1 100644
--- a/build/build.js
+++ b/build/build.js
@@ -29,14 +29,13 @@ 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: 9528,
                 directory: './dist',
                 file: '/index.html'
             });
-            opn('http://kushnerpreview.wallstreetcn.com/')
+            console.log('> Listening at ' +  'http://localhost:9528' + '\n')
         }
     })
 })
-- 
GitLab