bolinfest / plovr

plovr: a Closure build tool
78 stars 49 forks source link

* Adds the 'cache-output-file` configuration option. #100

Closed pcj closed 8 years ago

pcj commented 8 years ago
nicks commented 8 years ago

thanks!

nicks commented 8 years ago

fyi -- i noticed there's a minor bug here. Plovr allows you to set certain compilation parameters from the request query parameters (e.g., ?mode=ADVANCED), and if you do that with a cache-output-file, it will use the cached version with the wrong mode.

I refactored the code a bit to use an in-memory cache by default (which invalidates correctly). I left a comment about the disk invalidation problem but i'm not sure how to handle that yet...