File watching with chokidar
File watchers are powerful tools. We take them for granted because they’re often baked in, like Webpack rebuilding when you save a file.
Sometimes I’m in an environment without auto-reloading to my disposal. Yesterday, I was working on a CLI tool. The workflow was modify code, save changes, switch to terminal, run the tool, and look at the output. It’s not that bad, but I’d prefer a shorter feedback loop.