This repository has been archived by the owner on Aug 31, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 39
deploy_on_change
Marcel Kloubert edited this page Dec 25, 2017
·
6 revisions
Home >> Packages >> Deploy on change
For example: You develope a website and you use preprocessors like less or JavaScript compilers like TypeScript.
In combination with extensions like Easy LESS, you can create CSS output automatically, when you save your LESS files in VS Code.
The problem is, that you have to deploy the CSS files manually.
And this is "deploy on change" feature is for!
In the following example, all .css
and .js
files will be deployed to My test target
if they are changed.
{
"deploy": {
"packages": [
{
"name": "My project",
"deployOnChange": true,
"files": [
"**/*.css",
"**/*.js"
],
"targets": [ "My test target" ]
}
],
"targets": [
{
"name": "My test target",
"type": "test"
}
]
}
}