2 ms·
File watching is flaky enough that polling based implementations are a better choice. You can stat tens of thousands of files every second, and easily optimize
by Scaevolus 1y ago
File watching is flaky enough that polling based implementations are a better choice. You can stat tens of thousands of files every second, and easily optimize it to check frequently changes files more often. https://esbuild.github.io/api/#watch https://esbuild.github.io/api/#watch