grunt-jade-inheritance

0.1.0 • Public • Published

#Grunt-jade-inheritance Inspired by jade-inheritance.

Watch jade files, and rebuild only changed jade file and all it dependencies (extended, included, mixins).

This is almost the same as jade-inheritance, but without additional settings. This plugin you should use with grunt-contrib-jade. It's some kind of addon, which help rebuild only needed jade templates.

All what you need to do is:

And one more. For grunt-contrib-jade, you should use such configuration architecture:

jade : {
	compile: {
		options:{
			pretty	: true,
			client	: false
		},
		files: [{
			src : [
				'*.jade',
				'!source/**/*.jade'
			],
			dest	: 'build/jade',
			cwd		: 'app/jade',
			expand	: true,
			ext		: '.html'
		}]
	}
}

Readme

Keywords

none

Package Sidebar

Install

npm i grunt-jade-inheritance

Weekly Downloads

1

Version

0.1.0

License

ISC

Last publish

Collaborators

  • serhey.shmyg