summaryrefslogtreecommitdiff
path: root/docs/getting_started
diff options
context:
space:
mode:
authorMaxim Zhukov <maxim.zhukov.dev@gmail.com>2020-12-28 15:37:06 -0600
committerGitHub <noreply@github.com>2020-12-28 22:37:06 +0100
commit6719cb9b2a83e9729d364926e8ca34f3629e7357 (patch)
tree616853b48bfe9a4393b374bc463441db5d6c9b51 /docs/getting_started
parent25218a6a2d335a30a50f830cf03e5c9f2a9456cb (diff)
docs(watch): Add note about --unstable flag (#8876)
Diffstat (limited to 'docs/getting_started')
-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 49f90a834..b595f132c 100644
--- a/docs/getting_started/command_line_interface.md
+++ b/docs/getting_started/command_line_interface.md
@@ -94,6 +94,13 @@ 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.
+**Note: file watcher is a new feature and still unstable thus it requires
+`--unstable` flag**
+
+```
+deno run --watch --unstable main.ts
+```
+
### Integrity flags
Affect commands which can download resources to the cache: `deno cache`,