mirror of
https://github.com/oven-sh/bun
synced 2026-02-12 03:48:56 +00:00
cleanup
This commit is contained in:
committed by
Claude Bot
parent
ef2a6a2dc6
commit
48689ade28
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user