Detecting the progenitors of core collapse supernovae