TimDumol / guard-stylus

A Guard plugin to watch and compile Stylus files
Other
3 stars 4 forks source link

Using guard-stylus with nib #3

Open eawer opened 11 years ago

eawer commented 11 years ago

Hi! If I'm trying to import nib in my *.styl file, and then to watch this file with guard-stylus, I receive such error:

ERROR - Guard::Stylus ERROR: web/static/css/stylus/style.styl with error 'Error: /home/project/web/static/css/stylus/style.styl:1
> [#11E462EF143B]  > 1| @import nib
> [#11E462EF143B]    2| @import _common
> [#11E462EF143B]    3| @import _reset
> [#11E462EF143B]    4| @import _basic
> [#11E462EF143B] 
> [#11E462EF143B] failed to locate @import file nib.styl

Is it possible to use guard-stylus along with nib?

TimDumol commented 11 years ago

Heya! I've never used nib, so I haven't bothered to put in that functionality (it would be great if it could be added though :wink:). You might want to check out https://github.com/caseywebdev/guard-mirror as an alternative; it seems to have support for nib.