Open fasterthanlime opened 9 years ago
Just dropping the link to https://github.com/memoways/guard-shin here — it's using the compiler interface as is, but has the following problems:
— Recompiles what's asked, even if the file hasn't changed — No dirty checking of reverse macro dependencies (if A requires Bmacros and Bmacros changes, A should probably be recompiled — let's not get smarter than that for now)
So when both of those are adressed, then this issue is pretty much done I think (open for improvements later, but... even with the very-not-complete-at-all approach we have now, each individual file has a <45ms compile time, more often in the 10-20ms range for simple Reagent views)
Check for file freshness, recompile only what's needed.
Have a simple interface so it can be easily integrated into an asset pipeline.