Open bichsonnhat opened 7 months ago
Hmm this is strange. The only think I could think of is is your sqlite library writing to a hidden shadow file while the process is open? I know that can sometimes be common (I'm not familiar enough with the sqlite variety of libraries to be sure)
Also what is this test supposed to determine?
Also what is this test supposed to determine?
I am building my project on all platforms, and I am encountering issues with the .db
file on MacOS, even though it worked fine when tested on Windows.
Hmm this is strange. The only think I could think of is is your sqlite library writing to a hidden shadow file while the process is open? I know that can sometimes be common (I'm not familiar enough with the sqlite variety of libraries to be sure)
Can you execute FileWatcher on a database file? Specifically on MacOS.
I can see if I can report but I don't have the ability to test all platforms. If you could give an example that reproduces the problem it'd be good.
Additionally have you checked the upstream docs on the dependent file watching crate?
I am trying to edit a file
.db
(sqlite file) through insert, update, delete operations, but it seems not to be working on MacOS. I have tried editing.txt
,.rs
files, and they all work, but not.db
files.https://github.com/bichsonnhat/ractor_actors/blob/main/ractor_actors/src/filewatcher/tests.rs#L9C1-L23C6
It still works well on Windows, so is this an issue arising from the operating system or some other reason related to the file type that
FileWatcher
supports on MacOS?Thank you.