Skip to content

Commit

Permalink
fix: build cannot exit (close: #580)
Browse files Browse the repository at this point in the history
  • Loading branch information
ulivz committed Jun 13, 2018
1 parent 5479d6e commit fa473a7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ module.exports = async function build (sourceDir, cliOptions = {}) {
const relativeDir = path.relative(process.cwd(), outDir)
logger.success(`\n${chalk.green('Success!')} Generated static files in ${chalk.cyan(relativeDir)}.\n`)

// fix: #580 build cannot exit.
process.exit(0)

// --- helpers ---

function compile (config) {
Expand Down

0 comments on commit fa473a7

Please sign in to comment.