mapbox/tilemill — Issue #1055: use cross platform HOME
Author: springmeyer
Created: 2011-12-24 03:36:20+00:00
State: open
Labels: windows

`process.HOME` does not exist on windows, but process.HOMEPATH does. `process.HOME` is used *many* places, even by dependencies of TileMill, so we should likely do at startup in `index.js` on windows:

```
process.HOME = process.HOMEPATH
```

Unless there is reason to store documents in a custom location. Needs more research.