4 ms·
If you're on mac, you can use fswatch instead: https://github.com/alandipert/fswatch https://github.com/alandipert/fswatch It uses Mac APIs to monitor the fil
by i_s 14y ago
If you're on mac, you can use fswatch instead:
https://github.com/alandipert/fswatch https://github.com/alandipert/fswatch
It uses Mac APIs to monitor the file system and executes your command when it changes.
- stefans 14y agoAnd there is https://bitbucket.org/ssaasen/spy https://bitbucket.org/ssaasen/spy if you want something that works on both Mac and Linux (disclaimer: author here). The "run" mode can be used for the "compile on fs event" use case.