Skip to content

Commit

Permalink
Allow to run --watch --server
Browse files Browse the repository at this point in the history
  • Loading branch information
RblSb committed Mar 21, 2022
1 parent e3b2a41 commit 81ca90c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions out/khamake.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/khamake.ts
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@ else if (parsedOptions.server) {
}
});
server.listen(parsedOptions.port);
if (parsedOptions.watch) runKhamake();
}
else {
runKhamake();
Expand Down

0 comments on commit 81ca90c

Please sign in to comment.