vscode-ftp-sync
vscode-ftp-sync copied to clipboard
Collecting remote files list not ignoring node_modules
I have my node_modules folder in the ignored list and it doesn't upload it but when ftp-sync is collecting remote files list when I issue local-to-remote it scans through the server's node_modules and it takes forever.
Is there a way to prevent this?
I have the same proplem as well. It's looking like the plugin does not ignore the folder in the ingore list when checking for update.
I have this as well. The ignored list should apply when checking the remote path, not just the local path.
Not sure when but this issue seems to be fixed with the current version. Just make sure you don't have a trailing slash "/" in your directory name in "ignore" section.
Ex:
{ ... "ignore": [ "\\.vscode", "sftp-settings\\.json", "/venv/", "\\.svn", "\\.hg", "\\.git", "\\.bzr", "_darcs", "CVS", "\\.DS_Store", "Thumbs\\.db", "desktop\\.ini", ".sass-cache", "node_modules", "vendor" ] }
Can anyone confirm if this is working for them now? I still seem to be having this same issue with the remote scan not ignoring directories/files.
@meichthys not sure if this is still relevant to you, but if relevant to anybody else, just adding plain string "node_modules" to the ignore list was plenty enough to not download whole node_modules folder that was nested deep into the theming thingy, so it works now.