Fast Refresh
Web Fast Refresh
The Hosanna web app is powered by Vite, which provides instant hot reload for rapid development.
Note: Fast refresh requires that struct files are generated and up-to-date.
When you run the [WEB]
launch target, it automatically starts the struct generator in watch mode to keep your codebase in sync.
Device Fast Refresh
Fast refresh is not supported on device (e.g., Roku, Android TV). However, to speed up your development cycle on device, Hosanna provides launch targets that skip the transpile step and simply redeploy the last transpiled code. This makes redeployment much quicker.
Tips for Rapid Debugging on Device
- Use launch targets that skip transpiling for faster turnaround.
- Insert native log statements (
console.log
, etc.) to quickly trace execution. - You can hand-edit the transpiled
.brs
code directly for ad hoc debugging. - Combine with telnet or manual sideloading for even faster cycles.
This workflow helps you iterate and debug efficiently, even without true hot reload on device.