run-if-changed
run-if-changed copied to clipboard
Accumulating scripts to avoid running multiple times
This request can probably be best explained with an example.
{
"src": "npm test && npm run build && npm run check-readme",
"test": "npm test && npm run create-readme",
}
...I don't want to re-run test if both src and test files are modified.
Is there a way it could be recognized such that npm test wouldn't need to be repeated?