As the title says and I'm not sure why. The only thing happening is a hypnotaod.pid file appearing in the working directory. No running process, nothing listening on the defined port. Also - everything works fine with morbo.
EDIT: I've straced the startup, http://pastebin.com/YWUSeMuu
EDIT2: After looking through the strace output above it seems that hypnotad appends another ".pl" to the script file. I've change the file name to myapp, rinse, repeat http://pastebin.com/NVK2rhu4
Any ideas much appreaciated.
[root@fedora16 Mojo]# ./myapp.pl version
CORE
Perl (v5.14.2, linux)
Mojolicious (3.02, Rainbow)
OPTIONAL
EV (4.11)
IO::Socket::IP (0.16)
IO::Socket::SSL (1.76)
This version is up to date, have fun!
[root@fedora16 Mojo]# hypnotoad -t myapp.pl
Everything looks good!
[root@fedora16 Mojo]# hypnotoad myapp.pl
Starting hot deployment for Hypnotoad server 29432.
Code by now is simply the tutorial testcode
use Mojolicious::Lite;
app->config(hypnotoad => {listen => ['http://*:3000']});
get '/' => {text => 'ALL GLORY TO THE HYPNOTOAD!'};
app->start;
The same thing happened to me, I removed the .pid file in the app directory and started hypnotoad again and it worked just fine!. Hope this helps. M.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With