jquery - How to `automate` the `stylus` nib for static web page? -
i using stylus create css file. in css3 vendor prefix , other advantage, use nib package.
i not building website using express or other server. pure static. require run nib package whenever .styl file changes.
at present doing manual running command:
stylus -u nib screen.styl - works well. don't want run each , every time change .styl file.
is there automation run this? or other work-around handle this?
sample css above command :
@import 'nib' #comments border-radius 4 box-shadow 0 9 1px black p opacity 0.75 .seeen border-radius 4 #slogan hide-text()
you can use --watch (or -w) flag:
stylus -u nib -w screen.styl
Comments
Post a Comment