diff --git a/lib/build.js b/lib/build.js index 9d0df36e58bf07c8246ec8e93f5604bc4ec46a7c..d43dbb5aa2e1f954e6906f68a20a7caa3ff3d257 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) {