KnowledgeGarden / TQPortal

Node-Express-Mongo Collaboration Server
Apache License 2.0
5 stars 9 forks source link

pass resolved path to bootstrap #12

Open wenzowski opened 9 years ago

wenzowski commented 9 years ago

Evaluating a relative path in the context of another file is fishy, since we don't know where this file is located.

This is particularly important since a dev working on this project will likely run npm link /path/to/tqtopicmap while hacking so that changes made to the dependent module can be managed using that module's version control.

Note that npm link will likely epic fail on ancient windows, but should work fine in modern versions as long as ntfs symbolic links are available. The generic symlink call is used in posix compliant oses.