diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2020-04-07 11:12:31 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-07 11:12:31 -0400 |
commit | 62726430bedba7cca4d98e7714f3a8b49db3e89e (patch) | |
tree | 587503bcfdaac97088fb204bcfd0fdef44c378f0 /deno_typescript | |
parent | 481fcfc8bd291c678d14b20c7c34a925503b8507 (diff) |
Remove __timers namespace (#4662)
Diffstat (limited to 'deno_typescript')
-rw-r--r-- | deno_typescript/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/deno_typescript/lib.rs b/deno_typescript/lib.rs index d88932eeb..1fe81856c 100644 --- a/deno_typescript/lib.rs +++ b/deno_typescript/lib.rs @@ -327,6 +327,9 @@ pub fn trace_serializer() { pub fn op_fetch_asset<S: ::std::hash::BuildHasher>( custom_assets: HashMap<String, PathBuf, S>, ) -> impl Fn(&[u8], Option<ZeroCopyBuf>) -> CoreOp { + for (_, path) in custom_assets.iter() { + println!("cargo:rerun-if-changed={}", path.display()); + } move |control: &[u8], zero_copy_buf: Option<ZeroCopyBuf>| -> CoreOp { assert!(zero_copy_buf.is_none()); // zero_copy_buf unused in this op. let name = std::str::from_utf8(control).unwrap(); |