plack / Plack

PSGI toolkit and server adapters
http://plackperl.org/
Other
486 stars 214 forks source link

plackup -R should not imply ./lib (and maybe not the PSGI file) #668

Open dboehmer opened 3 years ago

dboehmer commented 3 years ago

While working on a legacy project I added a PSGI file that is merely a wrapper around some CGI scripts. All files are static files or scripts executed for every request.

So I want plackup to watch only the PSGI file itself.

I read the man page and I think this is neither documented nor useful. Could you change -R so that it doesn’t add the defaults if -r is not given?