mirror of
https://github.com/denoland/deno.git
synced 2024-11-24 15:19:26 -05:00
1713df1352
This commit adds `--unstable-hmr` flag, that enabled Hot Module Replacement. This flag works like `--watch` and accepts the same arguments. If HMR is not possible the process will be restarted instead. Currently HMR is only supported in `deno run` subcommand. Upon HMR a `CustomEvent("hmr")` will be dispatched that contains information which file was changed in its `details` property. --------- Co-authored-by: Valentin Anger <syrupthinker@gryphno.de> Co-authored-by: David Sherret <dsherret@gmail.com> |
||
---|---|---|
.. | ||
progress_bar | ||
checksum.rs | ||
console.rs | ||
diff.rs | ||
display.rs | ||
draw_thread.rs | ||
file_watcher.rs | ||
fs.rs | ||
glob.rs | ||
logger.rs | ||
mod.rs | ||
path.rs | ||
sync.rs | ||
text_encoding.rs | ||
time.rs | ||
unix.rs | ||
v8.rs | ||
windows.rs |