Closed pcj closed 8 years ago
thanks!
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...
plovr serve
command will write the output of a successful compilation run to this file. Subsequent GET requests to the serve command will respond with the contents of this file rather than attempt recompile. A recompile will be triggered if any compile dependencies are modified.