module.exports = function (gulp, plugins) {
	return function () {
		var time = new Date().getTime()

		gulp.src(['app/njk/*.njk'])
			.pipe(plugins.plumber())
			// .pipe(plugins.cached('njk', {
			// 	optimizeMemory: true
			// }))
			.pipe(plugins.nunjucksRender({
				path: ['./app/njk/', './app/block/'],
				envOptions: {
					trimBlocks: true,
					lstripBlocks: true
				},
				data: {
					timestamp: time
				}
			})).on('error', function (err) {
				plugins.notify().write(err)
				this.emit('end')
			})
			.pipe(plugins.htmlmin({
				collapseWhitespace: true
			}))
			.pipe(plugins.htmlPrettify({
				indent_size: 4
			}))
			.pipe(plugins.notify({
				message: 'HTML task complete'
			}))
			.pipe(gulp.dest('dist/'))
			.pipe(plugins.browserSync.reload({
				stream: true
			}))
	}
}

@@ -621,32 +621,61 @@
 _size: 4%0A%09%09%09%7D))%0A
+%09%09%09.pipe(gulp.dest('dist/'))%0A
 %09%09%09.pipe(plugins
@@ -721,42 +721,31 @@
 ete'
+,
 %0A%09%09%09
-%7D))%0A%09%09%09.pipe(gulp.dest('dist/'
+%09onLast: true%0A%09%09%09%7D
 ))%0A%09

Update njk.js