jlong / serve

Serve is a small Rack-based web server and rapid prototyping framework for Web applications (specifically Rails apps). Serve is meant to be a lightweight version of the Views part of the Rails MVC. This makes Serve an ideal framework for prototyping Rails applications or creating simple websites. Serve has full support for Rails-style partials and layouts.
http://get-serve.com
Other
836 stars 90 forks source link

Allow links to .css as well as .sass #5

Closed jacquescrocker closed 14 years ago

jacquescrocker commented 14 years ago

Very cool that you allow direct links to .sass. However would be even cooler if you could link to .css files (that don't exist) and it would route directly to the .sass file at the same location (but with .scss or .sass extension instead). This should only be the case if theres not already a .css at that path.

jacquescrocker commented 14 years ago

oh, i see. it was trying, but i had sass errors preventing. nevermind (again!)

jlong commented 14 years ago

Mmm, interesting. Seems that the CSS without errors is cached. Would definitely accept a patch that fixes this.