Joined January 2014
·

JL

Morristown, NJ
·
·

Posted to Using source maps for Stylus today over 1 year ago

Late follow up:
I had something wrong with npm or stylus (I knew it was wrong because $ stylus --version returned an error), but I ended up trying to update npm and it broke, so I had to re-install node to get npm. This allowed me to do a clean global install from github $ sudo npm install -g https://github.com/sidorares/stylus/tarball/sourcemaps and now I have sourcemaps working via command line. stylus --watch -u nib --sourcemaps styles/stylus/styles.styl --out styles/ So this command is "Stylus watch styles/stylus/styles.styl and use nib, then export the css file to the styles directory with sourcemaps". One thing to note is that you can't use the --firebug and --sourcemaps flags at the same time, but I haven't gotten FireStylus to work anyways. So this works with Chrome!

Posted to Using source maps for Stylus today over 1 year ago

Thanks, I was able to use $ npm install https://github.com/sidorares/stylus/tarball/sourcemaps --save-dev to install it. I'm trying to get it working with grunt-contrib-stylus.

Posted to Using source maps for Stylus today over 1 year ago

Thanks, I was able to use $ npm install https://github.com/sidorares/stylus/tarball/sourcemaps --save-dev to install it. I'm trying to get it working with grunt-contrib-stylus.

Posted to Using source maps for Stylus today over 1 year ago

Could you go more into detail about how to 3) install the bleeding edge version of Stylus from Sidorares' github? His directions there are for the normal $ npm install stylus. Are there some flags or something I am missing?
Thanks

Achievements
1 Karma
0 Total ProTip Views
Interests & Skills