Floobits / floobits-sublime

Floobits real-time collaboration plugin for Sublime Text 2 and 3
Apache License 2.0
294 stars 31 forks source link

Ignore specific files and directories #222

Open Tcll opened 9 years ago

Tcll commented 9 years ago

I'm not sure if this is not implemented, or just not documented, but either way, I'm having some major difficulties trying to ignore a few large runtime directories...

everything I've tried to specify the directories doesn't work... they keep reappearing whenever I remove some extra data files created during runtime...

how can I tell floobits to ignore these directories??

ggreer commented 9 years ago

Have you tried adding the files or directories to a .flooignore file? It should work just like .gitignore, .hgignore, etc.

Tcll commented 9 years ago

ok that's what I originally thought...

but, no matter what I did to the flooignore file, every time I removed my test directory and put something in it, it kept reappearing on the web IDE :/

or do changes to flooignore take effect next time you join the workspace??

ggreer commented 9 years ago

Changes to .flooignore only take effect when joining the workspace. I wish it were otherwise, but there's no cross-platform API for noticing when a file changes. select() comes close, but on Windows it only works on sockets.

Tcll commented 9 years ago

ah alright thanks, perhaps that little watchdog extension I posted about in the other issue might help. :)

arxpoetica commented 8 years ago

Where is the watchdog extension? .flooignore isn't very helpful without a watch. 😫