0

I'm looking for something like an event listener on the file system. I want to touch a file (restart.txt to signal Phsuion Passenger to restart) everytime I save another file.
Does anyone know how to accomplish this on Linux (Ubuntu 14.04)?
This is just for Ruby development not for production!

1 Answer 1

2

from google. There's other solutions available also (fschanged, fileschanged, inotify solutions etc):

https://gist.github.com/mikesmullin/6401258

1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .