You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use fs with start_link on macOS (last version, 14.4.1, with Erlang/OTP 26), to watch my source files, and I don't know if I'm using it wrongly or if I encountered a bug. I have a minimal reproducible example here:
I'm launching the script from the root folder (fs_test here), and when I try to save or modify any file in src folder, nothing happen. However, when I change fs:start_link(file_watcher, "src") to fs:start_link(file_watcher, "."), it's working. I can live with the workaround right now, but I'd like to understand what's happening under the hood. 🙂
Am I missing something? Should I avoid relative links with fs?
The text was updated successfully, but these errors were encountered:
Hi!
I'm trying to use
fs
withstart_link
on macOS (last version, 14.4.1, with Erlang/OTP 26), to watch my source files, and I don't know if I'm using it wrongly or if I encountered a bug. I have a minimal reproducible example here:The structure of the project is:
And in
fs_test.erl
, I haveI'm launching the script from the root folder (
fs_test
here), and when I try to save or modify any file insrc
folder, nothing happen. However, when I changefs:start_link(file_watcher, "src")
tofs:start_link(file_watcher, ".")
, it's working. I can live with the workaround right now, but I'd like to understand what's happening under the hood. 🙂Am I missing something? Should I avoid relative links with
fs
?The text was updated successfully, but these errors were encountered: