Reputation: 3
I am use sails-hook-autoreload in my sails.js project, and it works when I make changes in controller. What can I do, that it's work, when I make changes in views?
Upvotes: 0
Views: 223
Reputation: 3819
Since sails views are read and processed server-side at every new request, no reloading is necessary. If you save changes to a view, the next render will incorporate those changes without needing to restart sails, etc.
Upvotes: 1