title: How to make IntelliJ to clean output artifact directory before deploy?
body: <p>In <code>Run/Debug configuration</code> there is no option to select <code>clean</code> in section <code>Before launch</code>. How to make run configuration so IntelliJ 12 would clean output directory before deploying there?</p>