1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00
denoland-deno/cli/tools
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
..
bench feat: deno run --unstable-hmr (#20876) 2023-10-31 01:25:58 +01:00
coverage fix: improved using declaration support (#20959) 2023-10-24 09:37:02 -04:00
init fix(init): skip existing files instead of erroring (#20434) 2023-09-12 12:55:26 +02:00
jupyter chore: remove usage of chrono::Utc::now() (#20995) 2023-10-30 11:45:45 -04:00
repl refactor: upgrade to deno_ast 0.31 and deno_graph 0.59 (#20965) 2023-10-24 21:43:19 +00:00
run feat: deno run --unstable-hmr (#20876) 2023-10-31 01:25:58 +01:00
test feat: deno run --unstable-hmr (#20876) 2023-10-31 01:25:58 +01:00
vendor refactor: break out ModuleInfoCache from ParsedSourceCache (#20977) 2023-10-25 18:13:22 -04:00
bundle.rs feat: deno run --unstable-hmr (#20876) 2023-10-31 01:25:58 +01:00
check.rs refactor(npm): break up NpmModuleLoader and move more methods into the managed CliNpmResolver (#20777) 2023-10-03 19:05:06 -04:00
compile.rs refactor: break out ModuleInfoCache from ParsedSourceCache (#20977) 2023-10-25 18:13:22 -04:00
doc.rs feat(doc): support multiple file entry (#21018) 2023-10-30 23:58:57 +01:00
fmt.rs feat: deno run --unstable-hmr (#20876) 2023-10-31 01:25:58 +01:00
info.rs refactor: upgrade to deno_ast 0.31 and deno_graph 0.59 (#20965) 2023-10-24 21:43:19 +00:00
installer.rs refactor: use "deno_config" crate (#20260) 2023-08-24 11:21:34 +02:00
lint.rs feat: deno run --unstable-hmr (#20876) 2023-10-31 01:25:58 +01:00
mod.rs feat: Add "deno jupyter" subcommand (#20337) 2023-09-16 02:42:09 +02:00
task.rs chore(task): remove warning for npm "scripts" (#20880) 2023-10-12 07:33:59 +01:00
upgrade.rs refactor: migrate more ops to op2 macro (#20808) 2023-10-07 21:04:03 +05:30