Closed stephenbunch closed 9 years ago
By exposing it, it would then become part of the supported "public api", and I don't think that's a method that should be supported. If you need the method to just invalidate a file(s), not to override the logic, then you can just change the file(s) modified timestamp (see fs.utimes). That's a modification, and it'll trigger a change -> invalidate -> update
cycle.
Ah, perfect. That should do the trick. Thanks!
Hey guys, would it be possible to expose the invalidate method somehow? I've got a project where I need to be able to invalidate the entry file to manually trigger a partial rebuild.