I’m trying to take advantage of the live reloader – I’m using angular as a front end so it would be nice to have everything reload automatically. However, I am getting the following error – I have installed xcode developer tools etc. So I was basically wondering if anyone knows how to resolve this? I am not quite sure how I can manually run this inside of the dependency so I’m sure this is likely a noob question but would appreciate some help.
Could not compile file system watcher for Mac, try to run "clang -framework CoreFoundation -framework CoreServices -Wno-deprecated-declarations c_src/mac/*.c -o priv/mac_listener" manually inside the dependnecy.
It would be good if you could run it inside the dep, you can probably get more error information that way. Just go into deps/file_system (most likely) and try running that command.
Install xcode command line developer tools with xcode-select --install (no need to install xcode)
make sure your clang is pointing to /usr/bin/clang, the headers will be found automatically. (clean your PATH, make sure which clang will output /usr/bin/clang)
When you are using Nix, make sure to check step 2.
Then, run mix deps.compile file_system, everything will be fine.