vscode-ftp-sync icon indicating copy to clipboard operation
vscode-ftp-sync copied to clipboard

Collecting remote files list not ignoring node_modules

Open daniel-van-niekerk opened this issue 9 years ago • 5 comments
trafficstars

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?

daniel-van-niekerk avatar May 25 '16 12:05 daniel-van-niekerk

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.

ducminhn avatar Sep 21 '16 02:09 ducminhn

I have this as well. The ignored list should apply when checking the remote path, not just the local path.

RezzedUp avatar Dec 21 '16 11:12 RezzedUp

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" ] }

ducminhn avatar Aug 25 '17 21:08 ducminhn

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 avatar Sep 11 '17 01:09 meichthys

@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.

domints avatar Oct 02 '22 14:10 domints