On Fri, Apr 04, 2014 at 08:11:18AM +0300, Gabor Szabo wrote: > > I think there are two issues I have to deal with for such setup: > 1) recognizing I am in a development environment > 2) accessing a path based on that recognition > > The former can be done either by looking at an environment variable or > looking around in the file-system for some clue.
I'm wary of modules "looking around in the file-system for some clue", because you don't have much control on whatever is in the current working directory. There maybe plenty of good reasons to use such a module in a development environment, without a developement purpose. Whatever lies in the filesystem is a given, while you can use an environment variable to provide context. -- Philippe Bruhat (BooK) When you run from your problem, you make it that much harder for good fortune to catch you, as well. (Moral from Groo The Wanderer #14 (Epic))