Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 255
jacktrade Avatar asked Oct 26 '12 15:10

jacktrade


1 Answers

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.

like image 144
jmcneirney Avatar answered Nov 15 '22 05:11

jmcneirney