summaryrefslogtreecommitdiff
path: root/docs/linking_to_external_code/reloading_modules.md
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2021-07-20 16:25:36 +0200
committerGitHub <noreply@github.com>2021-07-20 16:25:36 +0200
commitd744c0c6d9a557bbaa2a23571ffb3acabf19c35a (patch)
tree6f7fb8a71b786e79c48f4b2c11a5a9ca988717e8 /docs/linking_to_external_code/reloading_modules.md
parent9b9becf1ae256b645e37a7eecf3441f3ae4b8ea5 (diff)
chore: move docs to separate repository
Diffstat (limited to 'docs/linking_to_external_code/reloading_modules.md')
-rw-r--r--docs/linking_to_external_code/reloading_modules.md33
1 files changed, 0 insertions, 33 deletions
diff --git a/docs/linking_to_external_code/reloading_modules.md b/docs/linking_to_external_code/reloading_modules.md
deleted file mode 100644
index e745996b1..000000000
--- a/docs/linking_to_external_code/reloading_modules.md
+++ /dev/null
@@ -1,33 +0,0 @@
-## Reloading modules
-
-By default, a module in the cache will be reused without fetching or
-re-compiling it. Sometimes this is not desirable and you can force deno to
-refetch and recompile modules into the cache. You can invalidate your local
-`DENO_DIR` cache using the `--reload` flag of the `deno cache` subcommand. It's
-usage is described below:
-
-### To reload everything
-
-```bash
-deno cache --reload my_module.ts
-```
-
-### To reload specific modules
-
-Sometimes we want to upgrade only some modules. You can control it by passing an
-argument to a `--reload` flag.
-
-To reload all \$STD_VERSION standard modules:
-
-```bash
-deno cache --reload=https://deno.land/std@$STD_VERSION my_module.ts
-```
-
-To reload specific modules (in this example - colors and file system copy) use a
-comma to separate URLs.
-
-```bash
-deno cache --reload=https://deno.land/std@$STD_VERSION/fs/copy.ts,https://deno.land/std@$STD_VERSION/fmt/colors.ts my_module.ts
-```
-
-<!-- Should this be part of examples? -->