/jscodeshift-watch

reruns jscodeshift any time your transform code changes, prints diffs, asks whether to write out the changes

Primary LanguageJavaScriptMIT LicenseMIT

jscodeshift-watch

CircleCI Coverage Status semantic-release Commitizen friendly npm version

A basic utility I wrote for myself to do quick one-off jscodeshift transforms. Watches your transform code and reruns any time you save it. Prints a diff of the transformed code, and if any file(s) changed, prompts whether you want to write the changes.

Usage

> jscodeshift-watch -t TRANSFORM_PATH PATH...