Skip to content

A Guard plugin to watch and compile Jade files

License

Notifications You must be signed in to change notification settings

bednarpe/guard-jade

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

guard-jade

A Guard plugin to watch and compile Jade files

Dependencies

Right now, jade has to be installed locally in the same directory as your Guardfile.

Options

  • output [string] -- (required) directory to output compiled files in
  • exclude [regex] -- paths to exclude
  • all_on_start [boolean] -- whether to compile all files on startup
  • all_on_change [boolean] -- whether to compile all files whenever a single file changes

Example

guard 'jade', :output => 'build', :all_on_start => true, :all_on_change => true do
  watch(%r{^src/(.+\.jade)$})
end

will compile files matching the regex ^src/(.+\.jade)$ and write the compiled output in build/\1 (e.g., src/foo/bar.jade goes to build/foo/bar.html.

Authors

License

guard-jade is licensed under the Apache 2.0 license. Please refer to LICENSE for more details.

About

A Guard plugin to watch and compile Jade files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%