-
Notifications
You must be signed in to change notification settings - Fork 47.2k
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
getting-started.md jsx --watch doesn't work #4269
Comments
Do your files have a |
@jimfb that's right, didn't notice the suffix in the example (problem solved) but, |
@amitmtrn Yeah, Sebastian wrote a long rant about this somewhere. Basically, it's a side effect of the fact that using transforms is now a fairly standard thing to do in javascript. For instance, if you're using es6 classes, you have to use a transform, but that's technically part of the javascript language now. What if you're using es7 features? What if you are using speculative features that haven't reached consensus at TC39? What if you are using multiple language extensions? |
Update: I found Sebastian's original post I was talking about: #3582 (comment) (it wasn't as long as I remembered it being) On another note, I think the jsx command is provided by react-tools, which is being sunsetted in favor of transforms like Babel which have jsx support built in. See: facebookarchive/jstransform#81 For these reasons, I'm going to go ahead and close this issue. |
The cli command
jsx --watch src/ build/
doesn't work in windows.after digging for a while i've found:
http://stackoverflow.com/questions/22739672/react-jsx-watch-does-nothing-after-first-conversion
tried:
and everything works fine now.
Is it doc problem or I miss something in the cli?
I'm running on:
The text was updated successfully, but these errors were encountered: