A Guard plugin to watch and compile Stylus files
output
[string] -- (required) directory to output compiled files inexclude
[regex] -- paths to excludeall_on_start
[boolean] -- whether to compile all files on startupall_on_change
[boolean] -- whether to compile all files whenever a single file changes
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
.
- Tim Joseph Dumol [email protected]
guard-stylus
is licensed under the Apache 2.0 license. Please refer to
LICENSE
for more details.