---
title: "How to spend less time waiting for Play! Framework to compile while coding"
date: 2013-05-13T19:00:27+00:00
author: "poornerd"
tags: ["tip"]
canonical: https://www.poornerd.com/2013/05/13/how-to-spend-less-time-waiting-for-play-framework-to-compile-while-coding/
source: Raw Markdown twin of the HTML article; content is the original source.
---
A colleague just pointed this cool tip out to me:

<pre class="brush: plain; title: ; notranslate" title="">play ~run
</pre>

If you enter &#8220;`play help`&#8220;, it says: &#8220;`~ <command>  Executes the specified command whenever source files change.`&#8221;

So what this does &#8211; and how it saves you time &#8211; is: **it compiles when you save, so that by the time you hit reload in the browser, if you are lucky, it will have already compiled.**

This saves me a few seconds each time I switch to the browser to check out my most recent changes.
