Hi,
I'm not really sure why but I've had this bug where sometimes the beforeSync isnt called when it should. I was able to reproduce this in a basic react example just by adding a beforeSync listener and printing the project.changes in the listener. I have tested with rollup
as well but didnt have the same behavior.
How I reproduce it :
Edit a task, click on the manuallyScheduled checkbox to turn it true.
Save
I receive my event in the beforeSync
Edit the same task, uncheck the manuallyScheduled checkbox to turn it false.
Save
No event is received
This is affecting us because it means sometimes the change wont be synced at the right time. Important to note that if I edit another field and then uncheck manuallyScheduled, it will work.
Let me know if you need a code example