summaryrefslogtreecommitdiff
path: root/docs/getting_started/command_line_interface.md
diff options
context:
space:
mode:
authorLuca Casonato <lucacasonato@yahoo.com>2020-09-13 15:17:25 +0200
committerGitHub <noreply@github.com>2020-09-13 15:17:25 +0200
commitf06724f2388180c1d73eb0cc989f3499d84eb879 (patch)
treee1b2df4c22cae0d739d03f8e86aae6fe237a6fec /docs/getting_started/command_line_interface.md
parent755cfa98ebf4e3bd96e432d6a0b761aeb2e3c818 (diff)
docs: manual updates for 1.4 features and changes (#7440)
Diffstat (limited to 'docs/getting_started/command_line_interface.md')
-rw-r--r--docs/getting_started/command_line_interface.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/getting_started/command_line_interface.md b/docs/getting_started/command_line_interface.md
index ecc431bf7..adc984971 100644
--- a/docs/getting_started/command_line_interface.md
+++ b/docs/getting_started/command_line_interface.md
@@ -87,6 +87,13 @@ However:
There exist logical groups of flags that are shared between related subcommands.
We discuss these below.
+### Watch mode
+
+You can supply the `--watch` flag to `deno run` to enable the built in file
+watcher. When Deno starts up with this flag it watches the entrypoint, and all
+local files the entrypoint statically imports. Whenever one of these files is
+changed on disk, the program will automatically be restarted.
+
### Integrity flags
Affect commands which can download resources to the cache: `deno cache`,