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?
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 documentedplackup -R my_app.psgi
watchesmy_app.psgi
,./lib
andmy_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?