Uncategorized

Hooking in to Play! Framework’s sbt plugin lifecycle

FavoriteLoadingAdd to favorites

In the Play documentation, we see how to hook in to the Play application’s life cycle with Global’s onStart, onStop, etc. However, sometimes you want to hook into the Play sbt plugin lifecycle for development or build purposes. Most usefully, you may want to run another task or process every time Play compiles, starts up (pre-Global), or stops (post-Global). If…
Original post: Hooking in to Play! Framework’s sbt plugin lifecycle
Source: Kifi