#How to make Tauri run a build command prior to refreshing

9 messages · Page 1 of 1 (latest)

crude sonnet
#

I have my own custom toolchain for building my app. I'd love to see updates when Tauri refreshes, but I don't see a way to have Tauri run the build before it refreshes. Is there something I'm missing?

#

How to make Tauri run a build command prior to refreshing

worldly geyser
#

nope, there's no such thing in tauri itself. You'd have to add it yourself somehow (custom file watcher?)

crude sonnet
#

Ah okay so e.g. vite is having people disable auto reloading or something and injecting their own refresh mechanism or something?

worldly geyser
#

not sure what you mean tbh

#

vite's hot reload works fine in tauri apps

#

but it's uncoupled to tauri's own reload

#

and tauri doesn't even know about it

crude sonnet
#

Right, understood. So if I have custom tooling I'd need to make a custom reload mechanism/watcher/etc. too.