Skip to content

Commit c96151d

Browse files
committed
refine build.js
1 parent 226a005 commit c96151d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

build/build.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,13 @@ rm(path.join(config.build.assetsRoot, config.build.assetsSubDirectory), err => {
2929
}) + '\n\n')
3030

3131
console.log(chalk.cyan(' Build complete.\n'))
32-
console.log('> Listening at ' + 'http://localhost:9528' + '\n')
3332
if(process.env.npm_config_preview){
3433
server.start({
3534
port: 9528,
3635
directory: './dist',
3736
file: '/index.html'
3837
});
39-
opn('http://kushnerpreview.wallstreetcn.com/')
38+
console.log('> Listening at ' + 'http://localhost:9528' + '\n')
4039
}
4140
})
4241
})

0 commit comments

Comments
 (0)