When I uses babel to watch a jsx file. But there is a syntax error.
Before that, I uses react-tools to watch, and everything is fine.
SyntaxError: as
I had a similar issue the other day. It seems that babel now needs some additional plugins to work with react.
See the answer in this SO question: babel-loader jsx SyntaxError: Unexpected token