craigspaeth/nap — pull request #65 by af (2013-12-11 21:54:47+00:00)
Title: More consistent path handling

Hey, thanks for `nap`, it seems like one of the more featureful asset managers out there for node.

These commits use node's `path` module for more consistent handling of directory paths. I encountered some edge cases that these changes resolve.

Note that this also changes the default `publicDir` from '/public' to 'public', since it's a relative path and the leading slash conflicts with `path.resolve()`