diff options
Diffstat (limited to 'src/http.zig')
-rw-r--r-- | src/http.zig | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/http.zig b/src/http.zig index 1479ad539..406bf9b35 100644 --- a/src/http.zig +++ b/src/http.zig @@ -388,8 +388,7 @@ pub const RequestContext = struct { if (stat.kind == .SymLink) { _ = FileSystem.openFileAbsolute(absolute_path, .{ .read = true }) catch return null; - absolute_path = std.os.getFdPath( - file.handle, + absolute_path = file.getPath( &Bundler.tmp_buildfile_buf, ) catch return null; @@ -2567,7 +2566,7 @@ pub const Server = struct { } }, .directory => { - rfs.bustEntriesCache(file_path); + FileSystem.instance.bustEntriesCache(file_path); ctx.bundler.resolver.dir_cache.remove(file_path); // if (event.op.delete or event.op.rename) |