Skip to content

Instantly share code, notes, and snippets.

@cuipengfei
Created December 14, 2013 11:19
Show Gist options
  • Save cuipengfei/7958088 to your computer and use it in GitHub Desktop.
Save cuipengfei/7958088 to your computer and use it in GitHub Desktop.
express work stylish css
var path = require('path')
var express = require('express')
var app = express()
app.use(require('stylus').middleware(process.argv[3]));
app.use(express.static(process.argv[3]));
app.listen(process.argv[2])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment