sbt-optimizer | An sbt plugin to analyze sbt task execution | Build Tool library
kandi X-RAY | sbt-optimizer Summary
kandi X-RAY | sbt-optimizer Summary
An sbt plugin to analyze sbt task execution
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of sbt-optimizer
sbt-optimizer Key Features
sbt-optimizer Examples and Code Snippets
Community Discussions
Trending Discussions on sbt-optimizer
QUESTION
I am working on Play! application with Angular 2 and webjars dependencies. SBT play plugin and typescript plugin. I use incremental compilation, but it takes great amount of time on each recompilation. I set "sbt-optimizer" to check which tasks are longest one. And i see that on each recompilation WebJars are taking almost all the recompile time. I can't imagine why he needs to do something with static files after first compilation. But even if i change scala file or twirl template, it does not matter again all webjars.
UPD: If i run on machine without Docker then speed is normal - recompile take few seconds. Inside Docker - 200sec+.
Compilation messages without docker - 2s, inside docker - 13s. Operations on screen without docker 10-300ms inside docker 500-60000ms.
UPD: Adding my docker file
...ANSWER
Answered 2017-Feb-26 at 23:38If you are running a mounted volume on Docker for Mac, you're probably hitting this issue with performance of mounted volumes.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install sbt-optimizer
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page