morbo --Mojolicious development server
morbo is the development server that comes with Mojolicious by default. Web development is very convenient because it automatically detects file changes and restarts the server automatically.
morbo app.pl
morbo doesn't work on Windows
morbo does not detect the file and restart successfully on Windows. (As of April 27, 2018)
This makes developing on Windows very stressful.
I created a batch file called winmorbo to solve this problem, so please use it.
Specify the port number
When you start the test server on morbo, the application usually starts on port number 3000.
This can be changed with the --listen option.
morbo --listen = http: //*:3001 myapp.pl
It can also be specified by setting the MOJO_LISTEN environment variable.
export MOJO_LISTEN = http: // *: 3001 morbo a.pl