aboutsummaryrefslogtreecommitdiff
path: root/docs/bundler/index.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/bundler/index.md')
-rw-r--r--docs/bundler/index.md8
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.