"failed to set up inotify handler. please increase inotify limits"

So I made some changes, and I’m happy to say that all my syncing issues are gone now.

I did this by creating a .stignore in coding on my phone that excluded android_sdk (my Android sdk folder) and node_modules (the Node dependencies folder). Now, to my knowledge, my laptop and desktop don’t sync to my phone on those folders but they do sync with each other on these folders. That alone eliminated many of the file objects needed to be watched from my phone and ultimately removed the “File Watcher - inotify” error, without having to disable “Watch for Changes” on coding. With regards to my aesthetic folder, apparently that was a completely different issue, since some files weren’t being synced to my phone because I didn’t have permissions to sync them to my phone (even though these were simple jpg, svg files). I removed the offending folders from aesthetic and now my phone doesn’t complain about that anymore.

Just to be absolutely clear though: when I exclude a file/directory in a .stignore on a device, does that mean that it will stop pushing AND pulling changes/additions to that file? In other words, if I exclude a file called something on a device, then would changes to something not propagate to remote devices AND would remote changes to something not modify the local something?

1 Like