Skip to content

Instantly share code, notes, and snippets.

@sebastianrothbucher
Created April 10, 2015 13:15
Show Gist options
  • Save sebastianrothbucher/02fb78eda69564fa1aa2 to your computer and use it in GitHub Desktop.
Save sebastianrothbucher/02fb78eda69564fa1aa2 to your computer and use it in GitHub Desktop.
Verbose outputs of JSX compiler (CouchDB Fauxton et al)
The grunt invoke just gives "unable to read module" or something like it, one can get verbose error messages by invoking
node_modules/react-tools/bin/jsx --extension jsx app/addons/<name> app/addons/<name>
(src dir = target dir). For instance, when a problem happens in module databases:
node_modules/react-tools/bin/jsx --extension jsx app/addons/databases app/addons/databases
=> helps spotting the error rather quickly, afterwards one can move on with grunt dev or so
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment