Collection hook not called on second application

Hi guys,
I have an application written with Meteor 1.4 and run it on port 3000 (called A) know I want use A application database in another application (called B). In B console I set MONGO_URL like this:

export MONGO_URL=mongodb://localhost:3001/meteor

And then run that on port 5000.
I have some collection hook on app A and also some collection hook on app B but hooks only called in app A.

For example in A we have:

collections.notes.after.update(function(userId, doc, fieldNames, modifier, options) {
    console.log("notes updated in A hook");
    console.log(doc);
}

And in B we have:

collections.notes.after.update(function(userId, doc, fieldNames, modifier, options) {
    console.log("notes updated in B hook");
    console.log(doc);
}

But it’s only log notes updated in A hook.

How to fix it?

Related StackOverflow question
Related matb33 meteor-collection-hooks issue