Closed alfrednerstu closed 10 years ago
which template engine?
HTML swig
var render = views(__dirname + '/views', {
map: { html: 'swig' }
});
This is happening to me as well, cache is off.
sounds like a swig and/or consolidate issue
(I don't know if this is the right place to post this)
I'm using Koa and co-views together but then I make an update to a view (I use HTML views) and reload the browser nothing happens. I need to restart the server to see the updates I've made. I'm running in development mode so there shouldn't be any caching.
What am I doing wrong? Is there a way to make the views update without restarting the server while developing?
Thanks!