K
Kirby
Guest
Guest or Bot
XenForo has a watcher system to automatically detect and update modified template files for Add-on and Style development.
While this does work fine, it is quite inefficient - if enabled every page load might check hundreds of files.
I'd therefore like to suggest a different, IMHO much more efficient approach:
Instead of checking every possible file when a template is requested, implement a CLI command to start a long-running process that uses OS functionality (inotify, etc.) to detect...
Read more
Continue reading...
While this does work fine, it is quite inefficient - if enabled every page load might check hundreds of files.
I'd therefore like to suggest a different, IMHO much more efficient approach:
Instead of checking every possible file when a template is requested, implement a CLI command to start a long-running process that uses OS functionality (inotify, etc.) to detect...
Read more
Continue reading...