Reworking Groundwork 3. nodemon & BrowserSync

Part of any web building process is the ability to see your changes in the browser. No more save-switch-refresh! Use your build process to automatically refresh changes in your browser.

In Metalsmith, there is a plugin called metalsmith-watch. DON’T USE IT!!. Apparently, it causes problems with various plugins.

Luckily, Woody Goodricke has written a set of instructions on Watching Metalsmith – essentially, separate out the watching from the building by using nodemon by the eminently brilliant @rem to check for changes in your files and BrowserSync by @wearejh to synchronise displaying changes in your browsers. It’s a win-win-win for everybody 😁.