Vaghik Soghomonyan
Vaghik Soghomonyan

Reputation: 3

Sails.js autoreload views

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

Answers (1)

arbuthnott
arbuthnott

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

Related Questions