Nikhil Benesch
8fb49f10cc
command/rsync-auto: properly exit on interrupt
...
Currently, interrupting 'vagrant rsync-auto' once it's waiting for
filesystem events has no effect. Appears to be a deadlock related to
signal handlers in Ruby 2.0 [0].
Remove call to `thread.join` in signal handler. The handler doesn't
need to wait for `true` to be added to the queue; it just needs to
launch the thread.
[0]: https://bugs.ruby-lang.org/issues/7917
2014-04-26 16:24:25 -04:00
Mitchell Hashimoto
53017bccc8
command/rsync-auto: work with provisioner synced folders
2014-04-21 13:55:57 -07:00
Mitchell Hashimoto
ceb90c5aac
command/rsync-auto: proper require
2014-04-18 21:17:08 -07:00
Mitchell Hashimoto
88683221f4
synced_folders/rsync: force NIO4R_PURE
2014-04-14 10:18:50 -07:00
Mitchell Hashimoto
e972bbf32a
synced_folders/rsync: change wording on no paths watching
2014-04-11 14:56:35 -07:00
Brent Theisen
7b27fa31ce
Print message and exit rsync-auto immediately if there is nothing to watch.
2014-04-11 16:49:58 -05:00
Mitchell Hashimoto
83c38b9278
command/rsync-auto: use newer listen gem [GH-3249]
2014-04-09 09:48:11 -07:00
Mitchell Hashimoto
09a3409746
commands/rsync-auto: do an initial sync [GH-3327]
2014-04-09 09:09:42 -07:00
Mitchell Hashimoto
800cf7539b
synced_folders/rsync: don't crash if comm error during rsync-auto [GH-3419]
2014-04-09 08:58:56 -07:00
Mitchell Hashimoto
56dd0e8531
synced_folders/rsync: don't watch excluded paths [GH-3159]
2014-03-12 19:40:18 -07:00
Mitchell Hashimoto
c8e02ddd78
synced_folders/rsync: rsync__auto options
2014-03-06 12:18:13 -08:00
Mitchell Hashimoto
c3d0903f85
synced_folders/rsync: output directory under watch for rsync-auto
2014-01-16 09:11:41 -08:00
Mitchell Hashimoto
526231812f
website/docs: better docs
2014-01-13 22:29:10 -08:00
Mitchell Hashimoto
04f1854840
synced_folders/rsync: unit tests for the callback, fix bug
2014-01-13 22:01:09 -08:00
Mitchell Hashimoto
fe2844ca59
synced_folders/rsync: rsync-auto command
2014-01-13 21:43:31 -08:00
Mitchell Hashimoto
309d12a16b
synced_folders/rsync: `vagrant rsync` syncs the folders
2014-01-13 11:25:29 -08:00
Mitchell Hashimoto
59218ded68
synced_folders/rsync: move rsync logic out to helper
2014-01-13 11:01:50 -08:00