kraken-devtools icon indicating copy to clipboard operation
kraken-devtools copied to clipboard

Don't compile files via middleware if they haven't changed

Open jeffharrell opened this issue 11 years ago • 3 comments

jeffharrell avatar Apr 03 '14 02:04 jeffharrell

Was the idea to look at the timestamp on files to determine this ? The we might need a store to track last modified and last compiled.

pvenkatakrishnan avatar Jan 06 '15 19:01 pvenkatakrishnan

Let's avoid storing the timestamp data. I had just logged this originally as an item to look into the feasibility of. It may be that it's not really needed though.

jeffharrell avatar Jan 06 '15 21:01 jeffharrell

we can get away with just reading and comparing .build/path/to/compiled/file timestamp and public/path/to/file timestamp

pvenkatakrishnan avatar Jan 06 '15 22:01 pvenkatakrishnan