Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

watchMode for @imported stylesheets #170

Closed
wants to merge 3 commits into from
Closed

watchMode for @imported stylesheets #170

wants to merge 3 commits into from

Conversation

samcday
Copy link

@samcday samcday commented Dec 21, 2010

Hi there,

First up thank you for developing the awesomeness that is less.js, absolutely love it!

Here is a patch that enables @import stylesheets to be monitored when watchMode is enabled in development environment. When an imported stylesheet changes, those changes are saved and the stylesheet attached to the document is regenerated.

Note that to achieve this I made the decision to keep references to the tree.Parser instances involved in the stylesheets, I figure this should be fine for development mode (there's no memory leaks as far as I can tell).

Thank you.

@cloudhead
Copy link
Member

When developing, you can use watch-mode in the browser, by adding #!watch to the url, I don't want this as part of the command line tool.

@cloudhead cloudhead closed this Aug 22, 2011
strk pushed a commit to CartoDB/carto that referenced this pull request Sep 26, 2012
…sion

Error out on unsupported mapnik version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants