mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 10:59:13 +00:00
fix(watch): preserve ProcState::file_fetcher
between restarts (#15466)
This commit changes "ProcState" to store "file_fetcher" field in an "Arc", allowing it to be preserved between restarts and thus keeping the state alive between the restarts. File watchers for "deno test" and "deno bench" now reset "ProcState" between restarts.
This commit is contained in:
parent
0329bc69da
commit
71ea4ef274
12 changed files with 126 additions and 42 deletions
|
@ -277,7 +277,6 @@ impl ModuleLoader for CliModuleLoader {
|
|||
lib,
|
||||
root_permissions,
|
||||
dynamic_permissions,
|
||||
false,
|
||||
)
|
||||
.await
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue