Does onData mean a datawatch? onConnect > onData path: /foo, version: 4, data: '2333' > onDisconnect > onConnect > onData path: /foo, version: 4, data: '2333'
Are these the sequence of events that you get on the client? mahadev On 1/6/09 5:03 PM, "Kevin Burton" <bur...@spinn3r.com> wrote: > I have an event watching a file... and if I restart the server I get this: > > onConnect > onData path: /foo, version: 4, data: '2333' > onDisconnect > onConnect > onData path: /foo, version: 4, data: '2333' > > It re-issues the same version of the file. I can of course watch for this in > my code but it seems like a bug. > > Shouldn't the client keep track of the stat of watches and not bubble up the > same event on server reconnect? > > Kevin