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

Adding the ability to use --include-path option at the compilation #49

Open
gdelhumeau opened this issue May 14, 2014 · 1 comment
Open

Comments

@gdelhumeau
Copy link

Hi.

Currently, we can set the --include-path option, like every options, before calling LessCompiler#init().

I would like to change it when I compile a file, without calling LessCompiler#init() again, because of its performances cost.

Actually what I really need is a new method like this:

public synchronized String compile(File input, String name, List<String> paths) throws LessException {
}

Thanks,

Guillaume

@gdelhumeau
Copy link
Author

Actually I wonder why calling setOptions() is forbidden after calling init()?

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

1 participant