Skip to content

Commit

Permalink
Exit after a build (unless watching)
Browse files Browse the repository at this point in the history
  • Loading branch information
Asko Nomm committed Apr 1, 2022
1 parent f378e99 commit 6e2c084
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/bruno/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -348,5 +348,7 @@
(alter-var-root #'*src-directory* (constantly src-dir))
(alter-var-root #'*target-directory* (constantly target-dir))
(if (argcmd "watch" args)
(watch!)
(build!))))
(do (build!)
(watch!))
(do (build!)
(System/exit 0)))))

0 comments on commit 6e2c084

Please sign in to comment.