Current hook just governs whether the record is written, but this means that the last file and the live websocket would still be updated with data that the user decided to filter. Now we use the hook to skip those steps as well.
Update HOOKS.md to note the functionality change
This is a simple implementation of the change, but I'd also consider changing the hook name internally and refactoring a bit further to avoid putting the lua check everywhere.
Current hook just governs whether the record is written, but this means that the
last
file and the live websocket would still be updated with data that the user decided to filter. Now we use the hook to skip those steps as well. Update HOOKS.md to note the functionality changeThis is a simple implementation of the change, but I'd also consider changing the hook name internally and refactoring a bit further to avoid putting the lua check everywhere.
Closes #458