494 B
494 B
id, title, original_id
| id | title | original_id |
|---|---|---|
| version-stable-watching-files | Watching For Changes | watching-files |
You can have Prettier watch for changes from the command line by using onchange. For example:
npx onchange "**/*" -- npx prettier --write --ignore-unknown {{changed}}
Or add the following to your package.json:
{
"scripts": {
"prettier-watch": "onchange \"**/*\" -- prettier --write --ignore-unknown {{changed}}"
}
}