use fsnotify to watch .inp