A FiveM script that automatically restarts resources when a .lua file is saved, created or deleted, speeding up development.
- Automatically restarts resources when a
.luafile is changed, created or deleted - Automatically refreshes resources when
fxmanifest.luais changed or created, or when files are created - Delete entities when resources are stopped
- Can be configured in
config.jsonby changingDELETE_ENTITIES
- Can be configured in
- Download the latest release from the releases page
- Add the script to your
resourcesfolder - Add
add_ace resource.loaf_watchdog command.refresh allowto yourserver.cfg - Add
add_unsafe_worker_permission loaf_watchdogto yourserver.cfg - Add
start loaf_watchdogto the bottom of yourserver.cfg - Start/restart your server