Remember and surface compile errors when turning on
Remember and surface compile errors when turning on

Summary: When turning on Fast Refresh, we might have a compile error in previously saved files. We used to ignore it until a file is saved again, leading to a confusing experience. This changes it so that we remember the last compile error, and show it _either_ when we get it (if Fast Refresh is off), or when we _turn it on_.

Reviewed By: cpojer

Differential Revision: D16359160

fbshipit-source-id: 8dc237563c2a271a23019a32ff85b57de99cfabe

pandiaraj44/react-native,exponentjs/react-native,exponent/react-native,arthuralee/react-native,exponentjs/react-native,exponentjs/react-native,hammerandchisel/react-native,hammerandchisel/react-native,arthuralee/react-native,javache/react-native,exponent/react-native,exponent/react-native,exponentjs/react-native,hammerandchisel/react-native,exponentjs/react-native,facebook/react-native,hoangpham95/react-native,janicduplessis/react-native,facebook/react-native,facebook/react-native,myntra/react-native,hoangpham95/react-native,janicduplessis/react-native,facebook/react-native,hoangpham95/react-native,janicduplessis/react-native,janicduplessis/react-native,hoangpham95/react-native,myntra/react-native,janicduplessis/react-native,javache/react-native,pandiaraj44/react-native,myntra/react-native,hammerandchisel/react-native,exponent/react-native,facebook/react-native,myntra/react-native,arthuralee/react-native,javache/react-native,janicduplessis/react-native,janicduplessis/react-native,javache/react-native,javache/react-native,exponent/react-native,myntra/react-native,pandiaraj44/react-native,pandiaraj44/react-native,exponentjs/react-native,hoangpham95/react-native,arthuralee/react-native,hammerandchisel/react-native,facebook/react-native,exponent/react-native,arthuralee/react-native,hammerandchisel/react-native,facebook/react-native,javache/react-native,myntra/react-native,hoangpham95/react-native,hoangpham95/react-native,javache/react-native,hoangpham95/react-native,pandiaraj44/react-native,exponent/react-native,myntra/react-native,myntra/react-native,facebook/react-native,javache/react-native,pandiaraj44/react-native,myntra/react-native,janicduplessis/react-native,exponentjs/react-native,facebook/react-native,exponentjs/react-native,hammerandchisel/react-native,exponent/react-native,javache/react-native,hammerandchisel/react-native,pandiaraj44/react-native,pandiaraj44/react-native