Custom Node.js fs watcher and preprocessor