document.cookie cannot be watched?
vekexasia opened this issue · comments
I'm trying to watch document.cookie using
watch(document, "cookie", function() {
console.log(arguments);
});
but it never triggers.
Usually you will use WatchJS to observe your own objects. Since document.cookie
is implemented by the browser it may be constructed in a different way.