I’m relatively new to Phoenix, and running into an issue with hot code reloading. When starting up the server, I get an error:
Couldn't watch /mnt/c/Users/Zach: No such file or directory
The directory is correctly written as /mnt/c/Users/Zach OBrien, so I’m sure the space is throwing the configuration off somehow. I tried going into dev.exs and changing the cd value as such:
Unfortunately that didn’t work, but thanks for the idea! I think for now I’m just going to move my project folder into C. Not the most elegant solution but it works.
This very much seems like a bug in Phoenix (or possibly one of its dependencies). I’m sure the Phoenix team would be grateful if you open a bug on the Phoenix development repository
I’d suggest not having spaces in folders for programming projects. E.g. anything depending on elixir_make won’t compile properly (with no obvious way to make it work for folders with spaces from what I’ve been told).