diff options
author | 2023-03-29 17:26:52 -0700 | |
---|---|---|
committer | 2023-03-29 17:26:52 -0700 | |
commit | f16995910a838379f70e14af353f3327c0d14b4b (patch) | |
tree | 057db7a614e204abc47d6d075f2163093b677269 | |
parent | b2f3dbfd43165d9f517b54b4de9395315234f643 (diff) | |
download | bun-f16995910a838379f70e14af353f3327c0d14b4b.tar.gz bun-f16995910a838379f70e14af353f3327c0d14b4b.tar.zst bun-f16995910a838379f70e14af353f3327c0d14b4b.zip |
Update vscode auto save mention
-rw-r--r-- | docs/runtime/hot.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/runtime/hot.md b/docs/runtime/hot.md index 0897ad55c..7f9931089 100644 --- a/docs/runtime/hot.md +++ b/docs/runtime/hot.md @@ -28,7 +28,8 @@ In `--watch` mode, Bun keeps track of all imported files and watches them for ch Instead, Bun uses operating system native filesystem watcher APIs like kqueue or inotify to detect changes to files. Bun also does a number of optimizations to enable it scale to larger projects (such as setting a high rlimit for file descriptors, statically allocated file path buffers, reuse file descriptors when possible, etc). {% /callout %} -The following examples shows real-time reloading using the [save-on-keypress](https://code.visualstudio.com/docs/editor/codebasics#_save-auto-save) plugin for VSCode, which saves the current file on each keystroke. + +The following examples show Bun live-reloading as it is edited, with VSCode configured to save the file [on each keystroke](https://code.visualstudio.com/docs/editor/codebasics#_save-auto-save). {% codetabs %} |