Is it possible to build only files that have changes? #16699
Replies: 1 comment
|
Short answer: not as a general For iterative local work, the closest built-in option is: vite build --watchThe current CLI docs describe If the expensive part is a large Markdown site, the practical split is usually:
So References: https://vite.dev/guide/cli.html#vite-build and https://vite.dev/guide/build.html |
Uh oh!
There was an error while loading. Please reload this page.
Hi. A huge fan of Vite here.
Always deeply appreciate for the hard work and efforts of the maintainers and the community.
I was just wondering if I could build only files that have changes,
or at least if anyone has implemented a workaround for this idea?
I found this post (vuejs/vitepress#1991) that Evan talked about a difficulty to support this feature,
but STILL it'd be really nice to have this feature because the amount of markdown files normally increase over time which hugely affect the build time. (In my case, it used to take over few hours even for deploying a small change.)
Please know that I'm not asking to implement this feature,
but rather I'm just curious about the community's opinions on this idea.
Any suggestions or advice would appreciated in advance (as always!).
Thanks.
All reactions