From f06724f2388180c1d73eb0cc989f3499d84eb879 Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Sun, 13 Sep 2020 15:17:25 +0200 Subject: docs: manual updates for 1.4 features and changes (#7440) --- docs/getting_started/command_line_interface.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs/getting_started/command_line_interface.md') 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`, -- cgit v1.2.3