UNPKG

344 BJavaScriptView Raw
1// require("fsevents") gets hoisted and breaks under Windows & Linux as it is Mac-only.
2// This shim module forces it to be required dynamically.
3// Doing this disables Chokidar's automatic fsevents usage, so the useFSEvents option is required.
4
5// // eslint-disable-next-line
6try {
7 module.exports = eval('require')('fsevents');
8} catch (e) {}
\No newline at end of file