Skip to content

Commit

Permalink
fix(contented): logic watch: boolean was flipped wrongly (#540)
Browse files Browse the repository at this point in the history
#### What this PR does / why we need it:

As per title.
  • Loading branch information
fuxingloh authored Aug 4, 2023
1 parent 4d0fbc9 commit 112957b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/contented/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ export default {
*/
async build({ watch = process.env.NODE_ENV === 'development' } = {}): Promise<void> {
if (watch) {
await new BuildCommand().execute();
} else {
await new WatchCommand().execute();
} else {
await new BuildCommand().execute();
}
},
/**
Expand Down

0 comments on commit 112957b

Please sign in to comment.