mikeal / node.couchapp.js

Utility for writing couchapps.
Apache License 2.0
406 stars 78 forks source link

Windows XP - couchapp sync - throws error #56

Open osher opened 12 years ago

osher commented 12 years ago

Hi, I tried today for the first time to work in Sync mode, however, ran into the following exception:

D:\ws\OSGE\1000\sources\node_dev\STP\node_modules\serial>couchapp sync svr-app.js http://stpuser:secretpassword@localhost:5984/stp
The "sys" module is now called "util". It should have a similar interface.
Preparing.
Serializing.
PUT http://stpuser:******@localhost:5984/stp/_design/serial-killer
Finished push. 8-9a9e67bf58e61786eb25ed7d220b844c

Watching files for changes...

fs.js:734
    throw new Error('use fs.watch api instead');
          ^
Error: use fs.watch api instead
    at Object.watchFile (fs.js:734:11)
    at C:\Documents and Settings\osher\Application Data\npm\node_modules\couchapp\node_modules\watch\main.js:56:10
    at C:\Documents and Settings\osher\Application Data\npm\node_modules\couchapp\node_modules\watch\main.js:83:5
    at Object.oncomplete (C:\Documents and Settings\osher\Application Data\npm\node_modules\couchapp\node_modules\watch\main.js:42:39)

I'm using WinXP sp3, node 0.6.9, couchapp version : 0.9.0

osher commented 12 years ago

Hi

I checked what's up with the new version, sync does not throw any more, however it syncs only attachments, and does not sync the ddoc itself, or libs that it loads.

Is this the way it should work?