Summary: Metro's new version using `jest-haste-map` wants to access files inside our ASAR bundle, not using electron's require function. This fails, because it can not read from inside the ASAR bundle. For this reason we are disabeling ASAR for now. Additionally, we are disabling reloads when a hidden file changes. This is because watchman creates a `.watchman-cookie` which shoudln't triggers a reload. But in general I think it's safe to not reload when hidden files are changed, as they are unlikely to have actual code in them. Reviewed By: passy Differential Revision: D10426715 fbshipit-source-id: 6ad9dcf88c62d5b65a9736eff28aadaf89c6af7a
5.5 KiB
5.5 KiB