The Mojolicious Blog.

A semi-official blog dedicated to the Mojolicious web framework

Day 2: Automatic Reload for Rapid Development

Mojolicious art and reload icon, original artwork by Doug Bell

Developing webapps with Mojolicious is a lot of fun! Using the morbo server for development, every change to my webapp causes a restart to load my changes. This way the next request I make has all my new code!

So, I change my code, the webapp restarts, and I go back to my browser window. Wait... Where's my new code? Why isn't the bug fixed? Did... Did I forget to reload my browser window again? Ugh! Of course!

Does this happen to you? Probably not. But, it's still annoying to reload the browser window after every backend code change. It'd be nice if my browser window automatically reloaded every time the web server restarted!

Continue reading Day 2: Automatic Reload for Rapid Development...