Skip to content

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

@dboehmer

Description

@dboehmer

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions