Reputation: 1939
I'm using Play Framework 2.5.1 to create an app, and I want to use Gulp instead of SBT for compiling and minifying front-end stuff. Is there a way for me to disable the automatic recompilation on activator ~run
, so I can still keep JS and Less under app\assets
, but instead use Gulp for building the front-end?
Upvotes: 1
Views: 310
Reputation: 14649
My configuration:
disablePlugins(PlayLayoutPlugin).settings(
....
watchSources := (watchSources.value
--- baseDirectory.value / "app" ** "*"
--- baseDirectory.value / "public" ** "*").get,
cleanFiles <+= baseDirectory { base => base / "src" / "main" / "public" }
)
remove app/public from watch
clean public directory
Upvotes: 1