README
repl-watcher
npm install -g repl-watcher
then
repl-watcher
This uses the file watch utility chokidar as its only dependency.
Look into package.json and the heavily commented repl-watcher.sh for details how this works.
Watch JavaScript files and start a REPL when a file changes
<script type="module">
import replWatcher from 'https://cdn.skypack.dev/repl-watcher';
</script>
npm install -g repl-watcher
then
repl-watcher
This uses the file watch utility chokidar as its only dependency.
Look into package.json and the heavily commented repl-watcher.sh for details how this works.