appendto/anvil.js — pull request #14 by arobson (2012-04-11 09:33:12+00:00)
Title: Approaching a stable RC

## In This Pull Request
Mostly bug fixes and a few minor feature changes as well as clean up of npm dependencies. As of this pull request, this code base is a very close drop-in for the old version (Postal and Cartographer were used as projects for integration testing).

### White space fix
Indention of the import statement was not being applied to the contents of the imported file -- fixed.

### CSS import syntax changed to comment style
Instead of allowing Anvil to replace @import statements, CSS, LESS and Stylus now use comment style import statements just like markup and source.

### Auto-refresh bugs / improvements
Fixed bugs in the socket server and changed the client side script to only alert the browser whenever connection had been lost and when a lost connection had re-established. All other events get logged to console.

### Scaffolds
Bugs related to site and library scaffold generation have been corrected.

### Mocha testing
Anvil no longer attempts to detect the testing framework. Mocha tests will be run when a --mocha argument is provided OR a mocha configuration block is provided on the build.json.

### No More Gzip
Gzip support didn't appear to have ever worked in any version. This feature is being removed for now. It will get added back if there is enough interest and a plug-in can be found to produce valid gzipped output.

### Docco comments are back

### Working folder is cleaned after each build

### Loads of minor bug fixes