deno/cli
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
..
args feat: deno run --unstable-hmr (#20876) 2023-10-31 01:25:58 +01:00
bench
cache
js
lsp
napi
npm
ops
schemas
standalone feat: deno run --unstable-hmr (#20876) 2023-10-31 01:25:58 +01:00
tests feat: deno run --unstable-hmr (#20876) 2023-10-31 01:25:58 +01:00
tools feat: deno run --unstable-hmr (#20876) 2023-10-31 01:25:58 +01:00
tsc Revert "chore: update deno_std submodule (#20994)" (#21001) 2023-10-28 01:24:37 +00:00
util feat: deno run --unstable-hmr (#20876) 2023-10-31 01:25:58 +01:00
auth_tokens.rs
build.rs
Cargo.toml chore: bump quick-junit to 0.3.5 (#21004) 2023-10-28 15:10:17 +02:00
deno.ico
deno_std.rs
emit.rs feat: deno run --unstable-hmr (#20876) 2023-10-31 01:25:58 +01:00
errors.rs
factory.rs feat: deno run --unstable-hmr (#20876) 2023-10-31 01:25:58 +01:00
file_fetcher.rs
graph_util.rs feat: deno run --unstable-hmr (#20876) 2023-10-31 01:25:58 +01:00
http_util.rs
js.rs
main.rs fix: implement node:tty (#20892) 2023-10-30 15:53:08 +00:00
module_loader.rs
node.rs
README.md
resolver.rs
version.rs
worker.rs feat: deno run --unstable-hmr (#20876) 2023-10-31 01:25:58 +01:00

Deno CLI Crate

crates

This provides the actual deno executable and the user-facing APIs.

The deno crate uses the deno_core to provide the executable.