Last active
November 9, 2019 11:07
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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