docs: clarify what triggers rebuild for watch flag (#7182)

This commit is contained in:
Joel Kuzmarski 2022-03-05 12:56:47 -06:00 committed by GitHub
parent 76bbcd0998
commit 9f7b859c9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,6 +72,8 @@ module.exports = defineConfig({
})
```
With the `--watch` flag enabled, changes to the `vite.config.js`, as well as any files to be bundled, will trigger a rebuild.
## Multi-Page App
Suppose you have the following source code structure: