On 24 Juli, 22:37, Benoit Chesneau <bchesn...@gmail.com> wrote:
> On Jul 24, 10:25 pm, "J. Chris Anderson" <jch
...@apache.org> wrote:
> > I was discussing this with Benoit and IRC. I think the feature would
> > be much more useful if it didn't require any configuration on the part
> > of the user.
> > So instead of doing anything special, you could just add --auto to
> > your existing couchapp push command, and it will run continuously,
> > pushing changes as you work.
> While this command could be available by default I need to be autopush
> command and not another function imo since there are some options
> possible :
> --no-inotify : don't use inotify on linux
> --update-delay : time in second between each updates
> --no-atomic : send non atomically (like push)
> adding these options wil make "push" command more complex I think ?
> > Would folks prefer that method of invocation? My hunch is yes, but we
> > want to see from the community.
> waiting your feedback too. Change will be easy.
> - benoīt
Thanks for this great addition! I've so far used a TextMate bundle to
achieve auto push but since I'm not entirely in love with TextMate
this opens up for even nicer tool combos.If I'm to choose, a platform
agnostic command --auto is preferred over any configuration and
selection of flags for delays, atomics and platform specific stuff.
Ideally, --auto would apply to my default environment and immediately
trigger when a file or file set changes.