Skip to content

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

Notifications You must be signed in to change notification settings

sshmyg/grunt-jade-inheritance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#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'
		}]
	}
}

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published