TypeScript 7.0 RC(devblogs.microsoft.com) |
TypeScript 7.0 RC(devblogs.microsoft.com) |
You plan to contribute to the TypeScript project?
However they did mention this in the article, and hopefully that also means they'll make the package accessible to others too:
> The watcher is a self-contained package that has allowed us to keep a clean separation of concerns between what we care to watch and why.
amazing
TypeScript is the most complex type system in existence. I am unsurprised it is difficult to port, but I am still a bit surprised by the length of the project thus far.
Or recently I use an eBPF-based file watcher. This needs the client to run a transient process with cap_perfmon and cap_bpf that sets up the ring buffers and exits. After that, any unpriveleged process can read from that ring buffer at any time and it just works.
inotify works just fine for stuff like project watchdirs, but I wanted one for a whole home directory where it had lots of issues, fd limits, race conditions in situations like mkdir -p a/b, and renames/mv being hard to deal with, etc.