Use TextMate to author and compile your Stylus markup
Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Commands
Installation
Preferences
Syntaxes
LICENSE.txt
README.md
info.plist

README.md

Stylus.tmbundle

A TextMate Bundle for the Stylus programming language.

Installation:

###Textmate 1 cd ~/Library/Application\ Support/TextMate/Bundles git clone git://github.com/jameswomack/Stylus-TextMate-Bundle Stylus.tmbundle osascript -e 'tell app "TextMate" to reload bundles'

###Textmate 2

Manual

mkdir -p ~/Library/Application\ Support/Avian/Bundles
cd ~/Library/Application\ Support/Avian/Bundles
git clone git://github.com/jameswomack/Stylus-TextMate-Bundle Stylus.tmbundle
# If Stylus doesn't automatically show up in your Bundles menu, restart TextMate 2

Auto

./Installation/install # run from this repo

Notes:

This bundle now includes syntax highlighting as well as compiling the markup and bring up a window showing you the results as CSS.

Ensure that TextMate sees your global npm install in it's $PATH (something like /usr/local/share/npm/bin).

Patches for additions are always welcome.

screenshot

This is based on the official Stylus bundle which bizarrely compiled the code but did not output it to a file. The impetus for this expansion was the fact that Stylus failed to recompile on changes within Express, which has happened to several other programmers as well.