concept application in category sbt

This is an excerpt from Manning's book sbt in Action.
This Scala object extends the scala.App class, allowing it to be used as a main entry point to an application. It does one thing when run: prints the sentence "Hello, sbt world!" Run sbt’s compile command and make sure the build sees this file:
One way sbt helps to improve the developer experience is by helping with rapid development. Another example of this is the Revolver plugin from the Spray project. This plugin can automatically restart the application, as long as it can find a class with a main method. The command to do this is reStart. reStart first builds the application and then starts (or restarts) the application it’s running. reStop stops the application if it’s running. This isn’t specific to the Spray project; it simply looks for a main method in your project. Try it out on your website application. First add in the top-level project project/plugins.sbt: