summaryrefslogtreecommitdiff
path: root/docs/linking_to_external_code/reloading_modules.md
diff options
context:
space:
mode:
authorCasper Beyer <caspervonb@pm.me>2021-07-19 06:29:10 +0800
committerGitHub <noreply@github.com>2021-07-19 00:29:10 +0200
commita23c0af5bd1bf56a5fdb051278138258c09ea076 (patch)
tree6c9e8a4063662b9ff5299ada78b1858ce7e3cae5 /docs/linking_to_external_code/reloading_modules.md
parent4dee1fd46327206ec8720927fd81615d9cb54b6a (diff)
docs: fix bash code blocks tagged as ts (#11439)
Diffstat (limited to 'docs/linking_to_external_code/reloading_modules.md')
-rw-r--r--docs/linking_to_external_code/reloading_modules.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/linking_to_external_code/reloading_modules.md b/docs/linking_to_external_code/reloading_modules.md
index 48c5efbb2..e745996b1 100644
--- a/docs/linking_to_external_code/reloading_modules.md
+++ b/docs/linking_to_external_code/reloading_modules.md
@@ -8,7 +8,7 @@ usage is described below:
### To reload everything
-```ts
+```bash
deno cache --reload my_module.ts
```
@@ -19,14 +19,14 @@ argument to a `--reload` flag.
To reload all \$STD_VERSION standard modules:
-```ts
+```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.
-```ts
+```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
```