The Embed GitHub project provides a wrapper for Bazel called ibazel
(short for interactive Bazel) which lets us keep the application running as we make changes.
Our example repository has this already setup in the tools
folder, at tools/ibazel
.
Run:
% ./tools/ibazel run app:app_bin
Now make changes to the application, such as in the print
statement, and you should see that immediately appear in the terminal.