From 6719cb9b2a83e9729d364926e8ca34f3629e7357 Mon Sep 17 00:00:00 2001 From: Maxim Zhukov Date: Mon, 28 Dec 2020 15:37:06 -0600 Subject: docs(watch): Add note about --unstable flag (#8876) --- 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 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`, -- cgit v1.2.3