Is there a way to have hugo --watch only rebuild certain files?

We only load the changed file(s), so there are lots of “partial logic” in there. But we do render the entire site on every change. There are issues about this on GitHub. But it is a very hard problem to perfect. So until then I suggest you enjoy your 4 seconds turnaround. You may use the new metrics feature in the latest Hugo to tune your templates.

1 Like