jipipayo jipipayo - 6 months ago 18
Perl Question

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 i restart the morbo server works.
This is reallly annoying for developing.
How to get rid of this caching behaviour?

UPDATE: i noticed if i use hypnotoad instead morbo, works and updates changes properly, so the problem is morbo.

Answer

On an aditional note, if you want to have live updates directly using morbo+fullapp you should cd to the app's folder then run

$ morbo script/myapp

It would then work properly.

Comments