Open markfinger opened 8 years ago
I started to implement some hooks for this, but removed them in https://github.com/markfinger/unfort/commit/1b24b8dc4450c72fdc1fc8a6cd004657a77d7808
My primary concern was the increasing complexity of the various fs abstractions, and their interactions with one another.
I still think this is worth pursuing, but not until the project (and in particular the file_system
module) has stabilised.
Re: #88 #122
When file watchers start, they crawl the targeted parts of the file system and generate a lot of data, some of which could be fed directly into the fs cache.
The primary benefit would be reducing the overheads on fs reads for
stat
,modifiedTime
andisFile
calls. Practically, this would help to reduce the time spent on dependency resolution during an initial build.