This commit is contained in:
Jarred Sumner
2025-10-12 21:15:15 -07:00
committed by Claude Bot
parent ef2a6a2dc6
commit 48689ade28
2 changed files with 2 additions and 2 deletions

View File

@@ -1677,7 +1677,7 @@ fn _resolve(
);
};
// Only re-query if we previously had something cached, or if it's main.
// Only re-query if we previously had something cached.
if (jsc_vm.transpiler.resolver.bustDirCache(bun.strings.withoutTrailingSlashWindowsPath(buster_name))) {
continue;
}

View File

@@ -434,7 +434,7 @@ pub fn NewHotReloader(comptime Ctx: type, comptime EventLoopType: type, comptime
var affected_i: usize = 0;
// if a file descriptor is stale, we need to close it
if ((event.op.delete) and entries_option != null) {
if (event.op.delete and entries_option != null) {
for (parents, 0..) |parent_hash, entry_id| {
if (parent_hash == current_hash) {
const affected_path = file_paths[entry_id];