Skip to content

Commit

Permalink
Watch should not mention deno compile (#1432)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret authored Feb 17, 2025
1 parent 79ce70b commit 35d3d9c
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions runtime/getting_started/command_line_interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,17 +91,16 @@ below.

### Watch mode

You can supply the `--watch` flag to `deno run`, `deno test`, `deno compile`,
and `deno fmt` to enable the built-in file watcher. The watcher enables
automatic reloading of your application whenever changes are detected in the
source files. This is particularly useful during development, as it allows you
to see the effects of your changes immediately without manually restarting the
application.
You can supply the `--watch` flag to `deno run`, `deno test`, and `deno fmt` to
enable the built-in file watcher. The watcher enables automatic reloading of
your application whenever changes are detected in the source files. This is
particularly useful during development, as it allows you to see the effects of
your changes immediately without manually restarting the application.

The files that are watched will depend on the subcommand used:

- for `deno run`, `deno test`, and `deno compile` the entrypoint, and all local
files that the entrypoint statically imports will be watched.
- for `deno run` and `deno test` the entrypoint, and all local files that the
entrypoint statically imports will be watched.
- for `deno fmt` all local files and directories specified as command line
arguments (or the working directory if no specific files/directories is
passed) are watched.
Expand Down

0 comments on commit 35d3d9c

Please sign in to comment.