Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hot reloading of assets (e.g. yaml) doesn't work #34

Closed
entropitor opened this issue Jul 26, 2017 · 2 comments
Closed

Hot reloading of assets (e.g. yaml) doesn't work #34

entropitor opened this issue Jul 26, 2017 · 2 comments
Assignees

Comments

@entropitor
Copy link

Do you want to request a feature or report a bug?
bug

What is the current behavior?
When adding a file extension (e.g. yml) to getAssetExts and using hot reloading, it's not processed by the babel transform (e.g. babel-plugin-convert-to-json), instead it tries to parse it as js

What is the expected behavior?
The hot reloading of the file transforms the file using the babel transform, just like on first loading the file

@cpojer
Copy link
Contributor

cpojer commented Oct 9, 2017

cc @rafeca

@rafeca
Copy link
Contributor

rafeca commented Oct 16, 2017

@entropitor: Thanks for reporting! This seems to be the same issue as facebook/react-native#7279

The fix has been included in React Native v0.49. Feel free to reopen this issue if you can still reproduce it on that version

@rafeca rafeca closed this as completed Oct 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants