Keep @ARGV
#1687
Replies: 1 comment 3 replies
-
morbo and hypnotoad as you linked are extremely simple scripts. I would recommend simply writing your own script that runs a Mojo::Server::Morbo or Mojo::Server::Hypnotoad as you desire. Just be aware that Mojo::Server::Hypnotoad will not see the new environment or arguments when hot-restarted (this is why it must be configured through app configuration). |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, team.
Is it possible to patch scripts morbo & hypnotoad for one line:
$ENV{MOJO_ARGV} = join " ", @ARGV;
right before
getopt
in the morbo and hypnotoad?I would extend command line options on my apps.
Grand thanks. Regards.
♥ Mojolicious
Beta Was this translation helpful? Give feedback.
All reactions