Skip to content

Instantly share code, notes, and snippets.

@desaiuditd
Last active November 9, 2019 11:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save desaiuditd/88d99e41a895d839291d65ad86d1eea7 to your computer and use it in GitHub Desktop.
Save desaiuditd/88d99e41a895d839291d65ad86d1eea7 to your computer and use it in GitHub Desktop.
Config JSON for Deploy Reloaded extension in VSCode. Copy this json in your workspace settings.json in VSCode.
{
"deploy.reloaded": {
"fastFileCheck": true,
"fastCheckOnChange": true,
"fastCheckOnSave": true,
"fastCheckOnSync": true,
"showStatusWhenFinished": true,
"values": {
"outputDir": "<local-deploy-path-directory-local-by-flywheel-sites>"
},
"packages": [
{
"name": "<project-slug>",
"description": "WordPress Server for <project-name>",
"files": [
".**",
"**",
"**/*",
"**/.*"
],
"exclude": [
"public/app/uploads/**",
"node_modules/**"
],
"deployOnSave": [
"local-by-flywheel"
],
"deployOnChange": [
"local-by-flywheel"
],
"removeOnChange": [
"local-by-flywheel"
]
}
],
"targets": [
{
"type": "local",
"name": "local-by-flywheel",
"description": "WordPress instance in Local by Flywheel",
"dir": "${outputDir}"
}
],
"buttons": [
{
"text": "Deploy to Local",
"command": "extension.deploy.reloaded.deployPackageFiles",
"arguments": [
"<project-slug>",
"local-by-flywheel"
]
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment