Skip to content

Commit fa473a7

Browse files
committed
fix: build cannot exit (close: #580)
1 parent 5479d6e commit fa473a7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/build.js

+3
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ module.exports = async function build (sourceDir, cliOptions = {}) {
9393
const relativeDir = path.relative(process.cwd(), outDir)
9494
logger.success(`\n${chalk.green('Success!')} Generated static files in ${chalk.cyan(relativeDir)}.\n`)
9595

96+
// fix: #580 build cannot exit.
97+
process.exit(0)
98+
9699
// --- helpers ---
97100

98101
function compile (config) {

0 commit comments

Comments
 (0)