feat(compile): support watch mode (#34860)
Adds watch-mode support to `deno compile` using the existing CLI file
watcher loop. The compile graph is built through the watcher-aware
factory so local graph files are registered and changes trigger a
rebuild of the output executable.
Tests:
- `cargo test -p deno --lib compile_watch_with_no_clear_screen`
- `cargo test --test integration compile_watch_test`
Closes #20086
Closes denoland/divybot#457
Co-authored-by: divybot <divybot@users.noreply.github.com>
Co-authored-by: Divy Srivastava <me@littledivy.com>