Skip to content

Commit

Permalink
[build.js] add build command
Browse files Browse the repository at this point in the history
  • Loading branch information
rexim committed Nov 22, 2023
1 parent 87c2e83 commit 2fd5632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function watch(part, ...args) {

const [nodePath, scriptPath, command, ...args] = process.argv;

if (command === undefined) {
if (command === undefined || command === 'build') {
build(...args);
} else if (command === 'watch') {
watch(...args);
Expand Down

0 comments on commit 2fd5632

Please sign in to comment.