Skip to content

Embbed a nodemon process for hot reload with --watch argument

Mael Gaspard Lhoutellier requested to merge wip-watch-bundled into main

We wanted to automatically reload the merged file when a source file is updated (.svg / .html`).

This is done through the --watch argument that will launch an embedded nodemon process (see nodemon requirable) that will re-call the script and pass arguments.

Merge request reports