1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-24 15:19:26 -05:00
denoland-deno/cli/util
Bartek Iwańczuk 1713df1352
feat: deno run --unstable-hmr (#20876)
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>
2023-10-31 01:25:58 +01:00
..
progress_bar fix(npm): show a progress bar when initializing the node_modules folder (#18136) 2023-03-13 18:18:29 +00:00
checksum.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
console.rs refactor(runtime): factor out deno_io extension crate (#18001) 2023-03-05 00:39:48 +00:00
diff.rs chore: use rustfmt imports_granularity option (#17421) 2023-01-14 23:18:58 -05:00
display.rs chore: fix typos (#19572) 2023-06-26 09:10:27 -04:00
draw_thread.rs chore(cli): remove atty crate (#20275) 2023-08-25 07:43:07 -06:00
file_watcher.rs feat: deno run --unstable-hmr (#20876) 2023-10-31 01:25:58 +01:00
fs.rs chore: update to Rust 1.73 (#20781) 2023-10-05 14:49:09 -04:00
glob.rs fix(lsp): don't pre-load documents matched in the config file's "exclude" (#19431) 2023-06-13 15:48:53 -04:00
logger.rs chore: disable rustls logging (#19859) 2023-07-17 16:49:03 -06:00
mod.rs fix(lsp): don't pre-load documents matched in the config file's "exclude" (#19431) 2023-06-13 15:48:53 -04:00
path.rs refactor(lsp): cleanup document preload (#20520) 2023-09-18 20:58:16 +01:00
sync.rs refactor: remove DENO_UNSTABLE_NPM_SYNC_DOWNLOAD and custom sync functionality (#20504) 2023-09-14 17:51:28 +00:00
text_encoding.rs chore: update base64 crate (#20877) 2023-10-26 18:39:04 +02:00
time.rs chore(cli): update chrono to remove broken time dep (#20508) 2023-09-14 13:17:38 -06:00
unix.rs fix: implement node:tty (#20892) 2023-10-30 15:53:08 +00:00
v8.rs chore: update to Rust 1.72 (#20258) 2023-08-26 22:04:12 -06:00
windows.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00