diff options
author | 2023-09-13 20:43:39 -0700 | |
---|---|---|
committer | 2023-09-13 20:43:39 -0700 | |
commit | c99caccdb2e1bb961b13766ec7ebb9907763e364 (patch) | |
tree | cbc65806656c2b2765666e96a168f5613adf9bb4 /docs/bundler/index.md | |
parent | 22f14129e5f8e0328b200ce3a8573dbd7c9562c4 (diff) | |
download | bun-c99caccdb2e1bb961b13766ec7ebb9907763e364.tar.gz bun-c99caccdb2e1bb961b13766ec7ebb9907763e364.tar.zst bun-c99caccdb2e1bb961b13766ec7ebb9907763e364.zip |
More docs & helptext cleanup (#5229)
* wip
* Flesh out resolution docs
* Polish
* More
* WIP
* WIP
* WIP
* Document --watch
Diffstat (limited to 'docs/bundler/index.md')
-rw-r--r-- | docs/bundler/index.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/bundler/index.md b/docs/bundler/index.md index 585a6ac52..8db531ce5 100644 --- a/docs/bundler/index.md +++ b/docs/bundler/index.md @@ -132,6 +132,14 @@ Visit `http://localhost:5000` to see your bundled app in action. {% /details %} +## Watch mode + +Like the runtime and test runner, the bundler supports watch mode natively. + +```sh +$ bun build ./index.tsx --outdir ./out --watch +``` + ## Content types Like the Bun runtime, the bundler supports an array of file types out of the box. The following table breaks down the bundler's set of standard "loaders". Refer to [Bundler > File types](/docs/runtime/loaders) for full documentation. |