0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-04 01:44:26 -05:00

fix(init): force --reload if npm or jsr package (#28150)

Ref
https://github.com/denoland/deno/issues/28148#issuecomment-2663189433
This commit is contained in:
Bartek Iwańczuk 2025-02-18 13:43:32 +01:00 committed by GitHub
parent 45777b8eca
commit 2f4527562c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -334,6 +334,7 @@ async fn init_npm(name: &str, args: Vec<String>) -> Result<i32, AnyError> {
script: script_name,
..Default::default()
}),
reload: true,
..Default::default()
};
crate::tools::run::run_script(