Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
added experimental --mode flag to Morbo
  • Loading branch information
kraih committed Sep 9, 2011
1 parent bf8b430 commit ab41af6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Changes
@@ -1,6 +1,7 @@
This file documents the revision history for Perl extension Mojolicious.

1.98 2011-09-06 00:00:00
1.98 2011-09-09 00:00:00
- Added EXPERIMENTAL --mode flag to Morbo.
- Improved CSS of all built in templates.
- Improved documentation. (rhaen, sri)
- Improved tests.
Expand Down
3 changes: 3 additions & 0 deletions script/morbo
Expand Up @@ -28,6 +28,7 @@ my ($help, @listen, @watch);
GetOptions(
help => sub { $help = 1 },
'listen=s' => \@listen,
'mode=s' => sub { $ENV{MOJO_MODE} = $_[1] },
verbose => sub { $ENV{MORBO_VERBOSE} = 1 },
'watch=s' => \@watch
);
Expand All @@ -44,6 +45,8 @@ These options are available:
--help Show this message.
--listen <location> Set one or more locations you want to listen on,
defaults to http://*:3000.
--mode <name> Run mode of your application, defaults to the
value of MOJO_MODE or development.
--verbose Print details about what files changed to
STDOUT.
--watch <directory/file> Set one or more directories and files to watch
Expand Down

0 comments on commit ab41af6

Please sign in to comment.