Hot Module Reloading crashes packager when adding images.
Hi,
I've been trying to figure a problem with the packager server. Whenever I add a new image to my files the packager server crashes due to Syntax Error: ... Unexpected character '�'. Here's a screenshot:
Should HRM be trying to parse images? Is there a way that I can get to not do that?
It builds a map on server startup. You just have to restart the server. It's not an HMR issue. If you just do a regular reload I think you'll have the same problem unless that got changed recently.
This happens because, for some reason, the package tries to parse image files (or even sent them through babel). I tried using a ignore or only directive in my .babelrc which make the error go away, but crash the transformer at a different point instead.
same problem
Duplicate of #7279