Doesn't this prevent `detect` from killing `compile` if `detect` fails?