From d6d0874abe7bf7f531e55fd36b010d157c4c13cb Mon Sep 17 00:00:00 2001 From: ULIVZ <472590061@qq.com> Date: Wed, 13 Jun 2018 23:08:29 +0800 Subject: [PATCH] Revert "fix: build cannot exit (close: #580)" This reverts commit fa473a7262627d5d9515baab2deeddd184cf2520. --- lib/build.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/build.js b/lib/build.js index 9d0df36e58..d43dbb5aa2 100644 --- a/lib/build.js +++ b/lib/build.js @@ -93,9 +93,6 @@ 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) {