repl-watcher

Watch JavaScript files and start a REPL when a file changes

Usage no npm install needed!

<script type="module">
  import replWatcher from 'https://cdn.skypack.dev/repl-watcher';
</script>

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.