I am currently using Stylus
to generate my CSS
file. To take advantage of the CSS3
vendor prefix and other features, I have incorporated the nib
package.
My website is static and does not rely on Express or any server. Now, I need to automatically run the nib
package whenever the .styl
file is modified.
Currently, I manually run the following command:
stylus -u nib screen.styl
- it works effectively. However, I would prefer not to have to run this command every time I make changes to the .styl
file.
Is there a way to automate this process? Or are there any alternative solutions available?
Here is a sample CSS for the aforementioned command:
@import 'nib'
#comments
border-radius 4
box-shadow 0 9 1px black
p
opacity 0.75
.seeen
border-radius 4
#slogan
hide-text()