watch task
See original GitHub issueIt would nice to be able to use this as just:
yarn add --dev prettier
yarn prettier -- --write src/**/*.js --watch/-w
And only update the files that are changed as they are changed.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:20 (10 by maintainers)
Top Results From Across the Web
Watching Files | gulp.js
The watch() API connects globs to tasks using a file system watcher. It watches for changes to files that match the globs and...
Read more >Gulp v4 watch task - Stack Overflow
I've run my code like this and it works perfectly... //Do everything once! gulp.task('default', function(){ gulp.
Read more >TaskWatch.ai Computer Vision + connected worker
TaskWatch keeps frontline workers handsfree and connected to emerging business events. A timely response deliveres improved security, enhanced customer ...
Read more >Follow/Watch a Task - MeisterTask
Watching a task allows you to stay updated on the task's progress, even if it isn't assigned to you. Task watchers receive notifications...
Read more >Manage task watchers - ClickUp Help
What you'll need; Watch a task; Manage task watchers; Other places you can manage watchers. Watchers are users who are notified when changes ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I am using https://github.com/mikeal/watch to do effectively that:
The problem is that it will just spawn up a new prettier process and go through every single file again
@vjeux - I thought perhaps it might be nice to put in the README how to use this with an [external] watcher - that way it hopefully will please everyone wanting a watcher, without having requests to reimplement this functionality in the code of Prettier.
Thoughts? I made pull request #3126 if you want it.
For those who are coming here from Google wanting this functionality, the short version is: