plack/Plack

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

dboehmer opened this issue · 0 comments

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.

  • plackup -r watches ./lib like documented
  • plackup -R my_app.psgi watches my_app.psgi, ./lib and my_app.psgi (again)

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?