Would it be wise to implement a gulp watcher for files like /**/*.less
on the main directory of my project instead of the one where the .less files are located? The main directory may consist of numerous files (node_modules, CMS data, etc.).
The advantage would be the ability to place the less folder in different locations without needing to modify any paths in the configuration file with the aim of eventually eliminating the configuration altogether.
Another option could involve searching for the lowest common ancestor starting from the root directory, but this might be a resource-intensive task.