Questions tagged [inotify-tools]

17 questions
0
votes
1 answer

Writing a Zsh function that auto reruns a command on file save

I want to write a Zsh function that looks like: smartwatch [WATCH_FILE] [COMMAND_TO_RUN] [COMMAND_ARGS] Such that after WATCH_FILE is saved, that COMMAND_TO_RUN will be run and smartwatch will wait for the file to be saved again. This would be…
Corey Farwell
  • 1,856
  • 3
  • 14
  • 19
-1
votes
1 answer

inotify_init() Function Falied

I installed inotify and plugin code into my existing code for watch file.I am always getting message that inotify failed. I googled and found that kernel should with inotify option.(Not sure how will I check as I am using remote machine). I have…
user765443
  • 1,856
  • 7
  • 31
  • 56
1
2