kazuho/p5-Server-Starter — pull request #8 by kazeburo (2013-06-20 00:31:06+00:00)
Title: add --dir option. chdir before exec

add --dir option to start_server.
It is useful in combination with proclet and carton. like this

$ start_server --port port --dir /path/to -- carton exec -- plackup app.psgi

as same as this. but --dir is more simple.

$ start_server --port port -- sh -c 'cd /path/to && carton exec'