mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 10:58:56 +00:00
* initial support * add types * fix comment * fix types * bigfix up * more fixes * fix some encoding support for watch * fix rename event * fixup * fix latin1 * add fs_events, still failing some tests * fixuup * remove unecesary check * readd tests ops * this is necessary? just testing CI/CD weird errors * just use dupe here * cleanup and fix deinit * fix zig upgrade
6 lines
180 B
JavaScript
6 lines
180 B
JavaScript
import fs from "fs";
|
|
fs.watch(import.meta.path, { persistent: false, signal: AbortSignal.timeout(4000) }).on("error", err => {
|
|
console.error(err.message);
|
|
process.exit(1);
|
|
});
|