blob: 72a2b6564e0e8f53e1966e06181f8874e12bb6cd (
plain) (
blame)
1
2
3
4
5
|
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);
});
|