How to achieve redis pubsub in sails, where redis and sails should communicate each other.
I am using sails 0.11.0 and my sails.socket config.
adapter: 'socket.io-redis', host: 'localhost', port: 6379,
to achieve redis as my socket store, where User.publishCreate and redis.on('user', msg).. i assume this two will communicate...