An extension for Visual Studio Code that triggers existing tasks based on file system changes.
Heavily inspired by the entr command line tool and File Watcher extension, this extension aims to provide a simple way to trigger Visual Studio Code tasks.
You can download the extension from the Visual Studio Code Marketplace or from Open VSX Registry.
-
Follow the official guide to create a
tasks.jsonfile. -
Add a task to the
tasks.jsonfile. For example: -
Modify any file in your workspace. You should see the
echotask being re-triggered.
There is a known issue where modifying any files under .vscode folder triggers your task 3 times. This is a known issue and is being worked on.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.