Open Tachi107 opened 4 months ago
Hi, I'm having the same problem. My project is accessible from three different paths:
/data/project/<redacted>/personal/<project>
~/project/root/personal/<project> (root being a symlink)
~/project/<project> (<project> being a symlink)
The output for the first two is:
/ /\ | | | |_)
/_/--\ |_| |_| \_ v1.51.0, built with Go go1.22.1
watching src
watching src/models
watching src/templating
!exclude tmp
watching views
watching views/layouts
building...
running...
However, when I give the air
command from the third path, I get the following:
/ /\ | | | |_)
/_/--\ |_| |_| \_ v1.51.0, built with Go go1.22.1
building...
running...
Hi, it seems that air is unable to watch files when accessing the project through a symlink. Here are the steps to reproduce the problem:
As you can see, when
cd
ing into thesymlink
file, air doesn't print thewatching .
message, and indeed doesn't watch for file updates.How can I solve this issue? Thanks!