0.01
Repository is archived
No commit activity in last 3 years
No release in over 3 years
A Guard plugin to watch and compile Stylus files
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 1.7.0
~> 0.7.1
 Project Readme

guard-stylus

A Guard plugin to watch and compile Stylus files

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 'stylus', :output => 'build', :all_on_start => true, :all_on_change => true do
  watch(%r{^src/(.+\.styl)$})
end

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

Authors

License

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