Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 89098 invoked from network); 1 Aug 2009 18:39:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Aug 2009 18:39:21 -0000 Received: (qmail 42107 invoked by uid 500); 1 Aug 2009 18:39:24 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 42029 invoked by uid 500); 1 Aug 2009 18:39:24 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 42019 invoked by uid 99); 1 Aug 2009 18:39:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Aug 2009 18:39:23 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of nbarlek@googlemail.com designates 209.85.222.198 as permitted sender) Received: from [209.85.222.198] (HELO mail-pz0-f198.google.com) (209.85.222.198) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Aug 2009 18:39:11 +0000 Received: by pzk36 with SMTP id 36so1217842pzk.13 for ; Sat, 01 Aug 2009 11:38:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=Cy00yjmxKrXoorAtKRKpQWQ8CWi+39kIie5GpX+ecZE=; b=TUct0XZaQipS0fLsT1YZIeDW/uL79RwMGWo756nARtP0MN0+zBQ0EBMdCNtQaYXEN1 O5XAY2/VY/hlg3fu31tkJa9Yvxd6n1utKep21R26sUZ325qrNVT36/PDDHnaabj8LeUf 5sCyaN+TOgWQZmIeka72jPFTbJFWpGra1YjGM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=B6/rjU8yj0gmaY5KYdEnRqz6joFE1vWKGkYDtLWJrySS4BV1D6Ah3W3GPqNiR/FPat HX3jIVg5jhzFk9gdM+hmgl5prlb/RqFCaxHvNvlbWAJnXc9Jr7iUzOwVUjTg1Pb5Qa8w mnfeDKeiu60jN0jcrhzT1cNa6C0qUKhZFF9MY= MIME-Version: 1.0 Received: by 10.142.229.5 with SMTP id b5mr369373wfh.30.1249151930111; Sat, 01 Aug 2009 11:38:50 -0700 (PDT) In-Reply-To: References: Date: Sat, 1 Aug 2009 20:38:50 +0200 Message-ID: <8ffc07960908011138lab2238fnc327b932110163ac@mail.gmail.com> Subject: Re: Couchapp auto-push? From: Norbert Barlek To: user@couchdb.apache.org, jwalgran@gmail.com Content-Type: multipart/alternative; boundary=000e0cd14940109712047018d9ce X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd14940109712047018d9ce Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit http://www.jasondavies.com/blog/2008/11/25/edit-couchdb-attachments-directly-with-couchdb-fuse/ But there might be an easier way: http://twitter.com/davisp/status/1174947466 "From your couchapp root: inotifywait -m -r --exclude "\.swp$" -e modify . | xargs -n 1 -I {} echo "couchapp push . wbm-targets" | bash" If you are on OS X, you could try using FSEvents, but I found no tool comparable to inotifywait, just this ruby app/lib: http://github.com/ymendel/fsevents/tree/master HTH, NB 2009/8/1 Justin Walgran > Is there a way to make Couchapp automatically push when one of the > files in the application directory changes? If it is not built into > Couchapp, is there a way to write a shell script that would watch a > directory and call 'couchapp push' when a file changes? > > -Justin > --000e0cd14940109712047018d9ce--