Can I create a tailable cursor for a query in mongo?

Using mongo and mongoose in node, I can create a stream from a capped collection like this:

@stream = Post.find().tailable().stream()

But can I do it with a query like this as well?:

@stream = Post.find({tagged:true}).tailable().stream()

When I try to run the above code, I get the error

MongoError: tailable cursor requested on non capped collection

Try this for your Post schema:

var postSchema = new Schema({..}, { capped: 1024 });