is there a faster building dev version of nuxt generate
Hi all, I’ve recently been playing with embedding a nuxt website into a golang webserver to use it as an overkill ui framework, but since I run my go app with CompileDaemon (an auto rebuild tool for go) having to wait for the site to
nuxt generate
is getting a bit annoying. I’m just wondering if there’s a way to generate nuxt in a “dev way” where it watches for file changes, and rebuilding in a quick manner but does not host its own web server. I suspect what I have now being probably the only option, but it would be nice to know if something like this exists5 Replies
I would configure a dev route in your golang webserver to point to
nuxt dev
and then for production generate itI could probably set it up to forward non-api routes to the nuxt web server, that might work
The nuxt team just shipped a build cache in experiments, that might actually solve my niche problem
could you share the link for the release?
it's in the latest release. https://github.com/nuxt/nuxt/pull/28726
Found it through Daniel roe https://x.com/danielcroe/status/1831317186276982831?s=46&t=Q2RXklOahR-qqzrHNiTNKw