Closed ericf closed 10 years ago
This splits apart reading in the module src code from parsing it into an AST. By adding a src property to Module instances, there's now a hook to control file I/O — for instance to cache the src of unchanged modules between re-builds.
src
:100:
@eventualbuddha thanks for merging this. If you don't mind, it would be great to get this out in a v0.6.1 release.
@ericf done.
Thanks!
This splits apart reading in the module src code from parsing it into an AST. By adding a
src
property to Module instances, there's now a hook to control file I/O — for instance to cache the src of unchanged modules between re-builds.