You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to run turbowatch at the root of a huge project (including workspaces tons of node modules and non js files etc)
I'm using triggers to indicate I only want to match a few directories in the list
project: path.resolve('../'),triggers: [{// Expression match files based on name.// https://github.com/gajus/turbowatch#expressionsexpression: ['anyof',['match','src/**/*.php','wholename'],['match','web/app/**/*.php','wholename'],],}]
But chokidar tries to index the whole structure nonetheless, resulting in the build never actually starting because chokidar chokes on the amount of files to scan (more than 2 million)
I want to run turbowatch at the root of a huge project (including workspaces tons of node modules and non js files etc)
I'm using triggers to indicate I only want to match a few directories in the list
But chokidar tries to index the whole structure nonetheless, resulting in the build never actually starting because chokidar chokes on the amount of files to scan (more than 2 million)
https://github.com/gajus/turbowatch/blame/main/src/backends/ChokidarWatcher.ts#L26-L29
This results in this logs
And no build ever starting
The text was updated successfully, but these errors were encountered: