Skip to content

Commit

Permalink
Merge pull request #1 from Flakebi/fix-build-once
Browse files Browse the repository at this point in the history
Fix --build-once
  • Loading branch information
nscarlson authored Aug 15, 2023
2 parents 7b8d06b + b7198c6 commit 6bcb86f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ async function main () {

const buildError = await build(inputPath)

if (program.buildOnce) {
if (options.buildOnce) {
process.exit(buildError ? 1 : 0)
} else {
watch()
Expand Down

0 comments on commit 6bcb86f

Please sign in to comment.