add non-current-working-directory support

found adding directory support is helpful for non-global installs of local-web-server.