groovyfx-project / groovyfx

A library for writing JavaFX 8 applications in the Groovy language.
http://groovyfx.org
Apache License 2.0
199 stars 48 forks source link

Executing GroovyFX scripts multiple times from embedded environment #51

Open davidekholm opened 7 years ago

davidekholm commented 7 years ago

Sorry for posting a really novice question. I love the declarative, straight forward look of GroovyFX. How can I execute a simple hello world style example multiple times from a script evaluating console without getting the following exception : javax.script.ScriptException: java.lang.IllegalStateException: Application launch must not be called more than once?