perlmojoliciousmorbo

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.


Solution

  • I've never had this problem before but there is watch().

    http://mojolicio.us/perldoc/Mojo/Server/Morbo#watch

    Maybe if you explicitly tell the server where to look for changed files it will work. Or, perhaps that can help you find where the problem is.