Skip to content

Instantly share code, notes, and snippets.

@jrosell
Last active August 28, 2020 18:13
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jrosell/f062e5be7468f620ab7c78a45ea9729e to your computer and use it in GitHub Desktop.
Save jrosell/f062e5be7468f620ab7c78a45ea9729e to your computer and use it in GitHub Desktop.
Visual Studio Code startup task for cache-clean.js on Magento 2. Please, Ctrl+shift+P to select Tasks: Manage Automatic Tasks in Folder and choose "Allow Automatic Tasks in folder
{
"version": "2.0.0",
"tasks": [
{
"label": "cache-clean.js",
"type": "shell",
"command": "~/.config/composer/vendor/bin/cache-clean.js --watch",
"presentation": {
"reveal": "always",
"panel": "dedicated"
},
"problemMatcher": [],
"runOptions": {
"runOn": "folderOpen"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment