dothot

require() tracker and reloader

Usage no npm install needed!

<script type="module">
  import dothot from 'https://cdn.skypack.dev/dothot';
</script>

README

Node.HOT 🔥🌶️🌋

Runtime dependency tracking and remote-controlled module reloading for Node.js

Usage

npm i dothot
NODE_HOT_OUT=stdout node -r dothot your_main_script.js

NODE_HOT_OUT can be stdout, stderr or a path to a file. If the file exists, it will be overwritten.