Added guard to auto recompile project