use fsnotify for less latency and less CPU usage
clean doc