Question

I want to monitor last modified files in browser in real time.

i.e. I am editing file in my editor, and when I press Ctrl+S, browser change displayed information, also file shared in local network, and I want to monitor changes from other people

What ruby libraries(or maybe not only ruby) I must to use?

Était-ce utile?

La solution

You probably want to use Guard, which is just a wrapper around whatever the OS provides, such as inotify or kqueues.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top