Closed nvartolomei closed 9 years ago
Hm, everything works if I remove -r react
from watchify command.
But I think there is a bug in watchify anyway, caching maybe?
I believe 6to5 supports JSX, so I don't think you need the reactify transform. I don't believe that should corrupt things though.
Seems like the same issue as https://github.com/substack/watchify/issues/145. Can you try watchify@2.5.0?
Tried using ES6 classes with react and stuck on a bug, running watchify and everything is cool, it build correct bundle, but after i modify some code the bundle is corrupted.
app.js
components/LapisxApp.react.js
watchify command:
watchify app.js -t reactify -t 6to5ify -r react -v -d -o bundle.js
On sequent builds even if the code is the same output is different.
Any ideas?