In this recipe, we will explore how to use the Play 2.0 plugin that will monitor the filesystem for a specified file. We will initialize our plugin as part of the Play web application lifecycle, and the main plugin logic will be triggered on application startup.
For Java, we need to perform the following steps:
foo_javaapplication with Hot-Reloading enabled:
activator new filemon play-java
modules/filemon/conf/application.conffile, as these settings will conflict with the main configuration file that we have ...