vs-deploy
vs-deploy copied to clipboard
Issue with ignore on large directories
When putting "node_modules/**" in ignore, deploying any other directory causes VSCode to hang. Is there a better way to do this? Or is it a bug?
@telekovar
Sorry for the late answer.
You can try to set global setting fastCheckForIgnores
to (true)
, so you are albe to use the faster minimatch check instead of node-glob,
Thank you for your assistance. Setting "fastCheckForIgnores": true
, causes the ignores to not work at all.
This is similar to the settings I am using.
{
"deploy": {
"showPopupOnSuccess": false,
"fastCheckForIgnores": true,
"ignore": [
".git/**",
".vscode/**",
"node_modules/**",
"includes/source/**"
],
"packages": [
{
"name": "Development Package",
"deployOnSave": true,
"fastCheckOnSave": true,
"targets": ["Test Development"]
}
],
"targets": [
{
"type": "test",
"name": "Test Development",
"description": "Use to test what files would be deployed"
}
]
}
}