Open phantom2152 opened 2 years ago
noCache
option in configure()
, https://mozilla.github.io/nunjucks/api.html#configure
I usually have it set as process.env.NODE_ENV === 'development'
to enable it only during development
There is also watch
option available.
Hey ,
I am used to using jinja2 and flask in python so I opted for nunjucks when I started doing a web-project in node. But the problem is whenever I change something in the template files the changes will not appear on the browser on page refresh but instead I have to manually restart the server every time.
Is there any specific configuration should I use
I have configured nunjucks as below
I am also using
nodemon
.