Questions tagged [morbo]
7 questions
5
votes
2 answers
mojolicious morbo server is caching by default?
I generated a full app from the command console:
mojo generate app MyApp
After that i started the dev server:
morbo myapp
I changed some code, even changed the name of the default controller, but i can not see any changes in the browser, only if…

jacktrade
- 3,125
- 2
- 36
- 50
3
votes
2 answers
How to exit a program running under a Morbo or Hypnotoad server
In the programs running under the Morbo (and Hypnotoad) server a call of exit() is silently ignored and effectively works as a return from the callback. An END block fires as usually but a program itself never exits.
#!/usr/bin/perl
use…

Yuriy Zhilovets
- 400
- 2
- 10
2
votes
1 answer
How can I auto-reload my Mojolicious website?
What is the best way to get auto-reloading to work when developing my website (my website runs on Mojolicious)?
There exists a development server called morbo, and it does update what is served automatically whenever I save changes to a source file,…

mareoraft
- 3,474
- 4
- 26
- 62
2
votes
0 answers
How to run a Morbo Server of Mojolicious from Eclipse
I am very new to perl. I was trying to import a perl project in Eclipse & run it. I am able to import it. The application runs by using this command:
morbo script/better_ed -l http://*:3010
I came to know that it runs a morbo server. How to run this…

Sumit
- 856
- 5
- 18
- 38
1
vote
1 answer
Can't find application class in @INC when starting Mojolicious-generated app
I generated a mojolicious app with the command mojo generate app first-app. It generated the app structure that should allow a running example when running the dev server with morbo ./script/first-app.
The file structure looks like this:
mojo app…

DJNorris
- 85
- 8
1
vote
2 answers
Problem with Mojo::IOLoop timer before redirect
i have a sub in my Mojolicious Controller which is called when a csv file is uploaded through a http post.
After the file is uploaded, a message gets rendered that say "you will be redirected in x seconds".
so i want to implement Mojo::IOLoop::Delay…

Chris
- 747
- 2
- 12
- 28
0
votes
1 answer
Can I suppress the "Perl API version %s of %s does not match %s" error
I copied a Perl module (DBD::Pg) from one system to another to run some quick checks on a Mojolicious project. On the new system, it all works fine when I run it under morbo (the Mojolicious test web daemon). But when I try to run the tests (via…

Randall
- 2,859
- 1
- 21
- 24