Mreopen
Bun

method

fs.Utf8Stream.reopen

file: PathLike
): void;

Reopen the file in place, useful for log rotation.

@param file

A path to a file to be written to (mode controlled by the append option).