Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dboehmer opened this issue Jul 1, 2021 · 0 comments
Open

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

dboehmer opened this issue Jul 1, 2021 · 0 comments

Comments

@dboehmer
Copy link

dboehmer commented Jul 1, 2021

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant