1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 15:24:46 -05:00
denoland-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 build: fix lsp benchmark (#20969) 2023-10-25 03:13:16 +00:00
cache refactor: break out ModuleInfoCache from ParsedSourceCache (#20977) 2023-10-25 18:13:22 -04:00
js feat(unstable): add Deno.jupyter.display API (#20819) 2023-10-12 22:32:38 +00:00
lsp perf(lsp): fix redundant walk when collecting tsc code lenses (#20974) 2023-10-25 21:51:02 +01:00
napi chore: forward v1.37.2 release commit to main (#20897) 2023-10-13 03:12:06 +00:00
npm fix(unstable/byonm): improve error messages (#20987) 2023-10-26 21:22:15 -04:00
ops refactor: migrate more ops to op2 macro (#20808) 2023-10-07 21:04:03 +05:30
schemas fix: add 'unstable' property to config json schema (#20984) 2023-10-26 22:11:24 +02:00
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 chore: update base64 crate (#20877) 2023-10-26 18:39:04 +02:00
build.rs refactor: use deno_core::FeatureChecker for unstable checks (#20765) 2023-10-04 21:42:17 +02:00
Cargo.toml chore: bump quick-junit to 0.3.5 (#21004) 2023-10-28 15:10:17 +02:00
deno.ico fix(cli): add icon and metadata to deno.exe on Windows (#6693) 2020-07-15 21:54:38 +02:00
deno_std.rs chore: forward v1.37.2 release commit to main (#20897) 2023-10-13 03:12:06 +00:00
emit.rs feat: deno run --unstable-hmr (#20876) 2023-10-31 01:25:58 +01:00
errors.rs refactor: upgrade to deno_ast 0.31 and deno_graph 0.59 (#20965) 2023-10-24 21:43:19 +00:00
factory.rs feat: deno run --unstable-hmr (#20876) 2023-10-31 01:25:58 +01:00
file_fetcher.rs feat: support import attributes (#20342) 2023-09-07 09:09:16 -04:00
graph_util.rs feat: deno run --unstable-hmr (#20876) 2023-10-31 01:25:58 +01:00
http_util.rs feat(unstable): add more options to Deno.createHttpClient (#17385) 2023-05-21 03:43:54 +02:00
js.rs build: allow disabling snapshots for dev (#20048) 2023-08-06 01:47:15 +02:00
main.rs fix: implement node:tty (#20892) 2023-10-30 15:53:08 +00:00
module_loader.rs refactor: break out ModuleInfoCache from ParsedSourceCache (#20977) 2023-10-25 18:13:22 -04:00
node.rs chore: rename some helpers on the Fs trait (#20097) 2023-08-08 16:28:18 -04:00
README.md docs(cli): do not need gen doc for cli (#17260) 2023-01-04 13:19:58 +01:00
resolver.rs fix(unstable/byonm): improve error messages (#20987) 2023-10-26 21:22:15 -04:00
version.rs refactor: make version and user_agent &'static str (#18400) 2023-03-23 23:27:58 +01:00
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.