-
Notifications
You must be signed in to change notification settings - Fork 28.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run task on save? #2159
Comments
Thats what you would use watch tasks for |
I don't agree watch is always a good choice, especially since if you have watch running you can't execute other tasks without terminating. Also creating another process just for watching less, sass is a overkill, it would be a better if IDE could be made to trigger the task when certain filetype changed, like:
|
This tool seem to do the trick: https://marketplace.visualstudio.com/items?itemName=emeraldwalk.RunOnSave |
@domaa11 It does the trick, but one must duplicate all tasks to separate file. Maybe if it were rewritten to run tasks on saving it would do exactly that. |
We have plans to support running multiple tasks in parallel. So such a watch task would not blocking running other tasks anymore. |
Watching tasks should be implemented using watch support of exist task runners. Always starting a task on save is not very performant nor battery friendly. With task 2.0.0 you can run multiple tasks in parallel. So I will close the issue. |
I've written this task for sass-lint – is it possible to run it automatically when I save a
*.scss
file?The text was updated successfully, but these errors were encountered: