-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Realm notifications are not working #15
Comments
Update - July 25, 2022 The notifications work when I compile the time_track.dart into an exe. However, still, no luck when I run time_track.dart directly. |
Hi @markandeyp! |
Hi @desistefanova, thanks for a response here. The notification issue was reproducible even outside VS code. Let me know if a solution is available. |
@markandeyp & @desistefanova Yes this has nothing to do with VS code. There is an issue with how interprocess notifications behaves when the dart interpreter is involved in loading the realm core shared library. The work-around as previously discussed on a call, is to compile the In general, I suggest compiling CLI tools using Realm, as it greatly reduces the startup time, which is especially important for CLI tools. I do hope to get to the bottom of this eventually, but it is not a top priority for us, as an easy work-around exists. Notice that this does not concern in-process notification. In particular it does not impact notifications due to synchronization. |
I have cloned this repo and used the time_track example. The watch command doesn't update the console with added tasks, the realm.changes never notifies.
Running Mac OS Monterey 12.4
The text was updated successfully, but these errors were encountered: