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
command:
babel --watch assets/js/ --out-dir dist/js/ --presets react
or package.json:
{ "name": "myweb", "version": "1.0.0", "babel": { "presets": ["react"] } }