-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Add --watch to less.js version of lessc binary #192
Comments
I second that. A suboptimal workaround is to create an endless loop that compiles between a 2 second interval.
|
Sent a pull request. #194 will close this. |
+1 for --watch on the command line. It would make it easier to start using less with various CMS-es, where it's not so straightforward to use |
To those still looking for a solution to this, I highly recommend trying out Coyote http://github.com/imulus/coyote Coyote is a tool allowing you to watch source files for Coffescript, SASS, or LESS and then compile them on the fly. Example: coyote -w input.less:output.css Cheers. |
Coyote did not work, fails with errors. I found this decision frustrating. But thanks for making open source software. |
It does work, you just needed to include the watch command. $ coyote -w styles.less:styles.css Cheers. |
Also, just an FYI. The LESS capability of coyote is not officially documented or supported at this time. That said, it's a great solution for people in this thread. Just use it knowing it's not ironed out fully at this time. Official support and documentation is coming in the future. |
Include the instance name in the rule id (fixes less#177)
for those who want a general file/folder notifier |
It would help people migrating from the older ruby-based
lessc
to be able to use thelessc --watch
commandThe text was updated successfully, but these errors were encountered: