detect incremental compilation