Skip to content
This repository has been archived by the owner on Jan 9, 2019. It is now read-only.

Support for Watch Feature #30

Open
UditWadhwa opened this issue Jun 4, 2013 · 4 comments
Open

Support for Watch Feature #30

UditWadhwa opened this issue Jun 4, 2013 · 4 comments

Comments

@UditWadhwa
Copy link

Hi,

Do you have plans for supporting watch feature (real time compilation) of less?

@chubbard
Copy link
Collaborator

This would require Java 1.7+ support. Probably best supported outside of this project. I've actually started to add a watch task in ant that's more general purpose than adding it to this project. But it could be used in conjunction with this project to accomplish your goal. That wouldn't force every user of this project to be using 1.7.

@sandroboehme
Copy link
Collaborator

If a file monitor is needed, than the one from Apache Commons can be used:
https://commons.apache.org/proper/commons-vfs/apidocs/org/apache/commons/vfs2/impl/DefaultFileMonitor.html
It is compatible with JDK 1.5.

@chubbard
Copy link
Collaborator

chubbard commented Mar 5, 2014

There is also this ant task: https://github.com/chubbard/WatchTask which makes it trivial to run less compiler when files change.

@sandroboehme
Copy link
Collaborator

That also sounds like a workable solution.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants