Skip to content

Commit b89d0dd

Browse files
Merge pull request #936 from danwhite85/fix-nunjucks-caching
Set noCache = true on Nunjucks env, so restarts are not needed so often
2 parents 704188f + 1d58ebd commit b89d0dd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/engine-nunjucks/lib/engine_nunjucks.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ PatternLoader.prototype.getSource = function(name) {
3939
return {
4040
src: fs.readFileSync(fullPath, 'utf-8'),
4141
path: fullPath,
42+
noCache: true
4243
};
4344
};
4445

0 commit comments

Comments
 (0)