New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Syncing all changed files #25
Comments
Hi, I'll take a look at it. Would be optional, but still I wonder about performance ... will test it on 3342 files project. Or you perhaps you might flag only some "watched" paths ... this issue would be pretty much gone then. The timeout is tricky when the build time vary (might also be unexpected spike - OS may be swapping, running anti-virus, giving priority to other processes etc.) ... maybe 'm wrong, but it doesn't sound as a possible solution to these situations at the moment. Thank you for idea! |
Thank for your answer, I am looking forward to it :) I was thinking same about sync timeout, but if I know that usually it takes 2-3s to build. I can setup timeout for 5s. In most cases it will be enough and I can deal with others :) |
Added a delay in caf9179 ... I'd be glad for a feedback |
Thank you. Timeout is working good. Looking forward for uploading all changed files. |
Hi ... so I implemented a0d446d the afterwatch ;) I'd be glad for feedback Also check out a Wiki entry on that topic https://github.com/NoxArt/SublimeText2-FTPSync/wiki/Why-and-how-to-use-afterwatch |
Hi, unfortunately i cant get it working :/ After trying various settings I keep getting this error: Writing file ..........\style.less with encoding UTF-8 |
:/ ... and may I ask you for your settings file? At least the relevant part |
OK, its working now, I had to delete & create ftpsync.settings, with new config its working as expected :) (Probably my bad configuration). So, thank you for your time :) |
Glad to hear that, great |
Hi, I am using your plugin with LESS-build plugin which is building CSS files from LESS files. So after editing file style.less new file style.css is created by LESS-build plugin. Problem with this is that FTP Sync is syncing only files edited by me (user) not files edited by aditional plugins. So, style.less is uploaded, but style.css is untouched.
Maybe you can check (after save) for changed files all over the project folder and upload them as well?
PS: Maybe some "sync timeout setting" will be good, to let other plugins do their work and build files, and start syncing after 1s for example.
Thanks :)
The text was updated successfully, but these errors were encountered: