DSL's for our ecosystem
This repository has been archived on 2025-08-04. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Timur Gordon 22032f329a feat(tera_factory): Implement hot reload example for Tera templates with Rhai
This commit adds a comprehensive hot reload example that demonstrates how to use the rhai_system for dynamic template rendering with Tera. Key improvements include:

- Refactor the example to use external script files instead of hardcoded Rhai code
- Implement proper module imports using the BasePathModuleResolver approach
- Fix template rendering by using keyword arguments in Tera function calls
- Add support for hot reloading both main and utility scripts
- Remove unnecessary output file generation to keep the example clean
- Fix compatibility issues with Rhai functions (avoiding to_string with parameters)

This example showcases how changes to Rhai scripts are automatically detected and applied to rendered templates without restarting the application, providing a smooth development experience.
2025-05-02 21:34:28 +02:00
_archive/rhai_engine reorganize module 2025-04-04 08:28:07 +02:00
components reorganize module 2025-04-04 08:28:07 +02:00
database reorganize module 2025-04-04 08:28:07 +02:00
devtools/reloadd reorganize module 2025-04-04 08:28:07 +02:00
rhai_system remove old examples 2025-05-02 21:05:30 +02:00
rhai_tera reorganize module 2025-04-04 08:28:07 +02:00
server reorganize module 2025-04-04 08:28:07 +02:00
tera_factory feat(tera_factory): Implement hot reload example for Tera templates with Rhai 2025-05-02 21:34:28 +02:00
utils reorganize module 2025-04-04 08:28:07 +02:00
.gitignore ... 2025-04-03 09:18:05 +02:00
README.md Initial commit 2025-04-03 04:07:30 +00:00

rhaj

DSL's for our ecosystem