scala - SBT task executed twice -


i trying create custom sbt task. problem task executed twice , output of tasks interleaved, suggests parallel execution. minified example of task creating:

theproject/project/moduletemplate.scala:

object moduletemplate extends build {   lazy val createmodule = inputkey[unit]("create new module")   override def settings = super.settings ++ seq(     createmodule := {       println("creating module...")       println("interleaved")     }   ) } 

the output of executing task in sbt console (play createmodule):

creating module bla... interleaved creating module bla... interleaved 

any idea causing this? in advance

apparently there wrong either project files intellij or sbt files messing task execution. anyways, deleted files generated sbt , intellij , problem solved.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -