cloudhead/less.js — pull request #679 by zsitro (2012-03-05 23:03:38+00:00)
Title: less.watch() called in production mode FIX

When you call less.watch() in production environment or with the hash mark -> it just does not work. Feature or bug dunno. But:

Many people trying to do this:

```javascript

```

but they do not realize that he `less.env` line is ignored (because less.js loaded itself right before that line), and that variable is auto set up based on your URL (`localhost`/`127.0.0.1`,`file:///`,etc). Which is not always useful.

For example I work on localhost with a `http://projects.local/...` host name so there the less.watch() wont work.

I added a bit code to the `browser.js`.

EFFECT: `less.watch()` can be called from hash or from `script` tag even in production env.

Now this will function as follows:

```javascript

```

Hope you guys like it.