Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jooby:run with live compiler #338

Closed
jknack opened this issue Apr 3, 2016 · 1 comment
Closed

jooby:run with live compiler #338

jknack opened this issue Apr 3, 2016 · 1 comment

Comments

@jknack
Copy link
Member

jknack commented Apr 3, 2016

Today jooby:run is able to reload an application while working in development. This feature increase developer productivity and provides a nice development experience.

But jooby:run isn't able to recompile classes on file changes so it must be used it with other tools... the perfect combo is: jooby:run + Eclipse IDE. Because, Eclipse recompile code on Save and jooby:run is able to reload the application.

Next release of the jooby:run maven plugin will come with a live compiler. The compiler is on by default, unless:

  • A .classpath file is detected at the project dir. If this file is present, then developer uses Eclipse and the plugin will let Eclipse do his job (as today)
  • The compiler option is set to off
  • Otherwise the live compiler is always on

On compilation success, the application will be effectively reloaded.

On compilation error, the application will ignore the change and won't reload.

Compilation error or success are display at the console (not at the browser)

@jknack jknack added the feature label Apr 3, 2016
@jknack jknack added this to the 1.0.0.CR milestone Apr 3, 2016
@jknack
Copy link
Member Author

jknack commented Apr 3, 2016

cc @paulovictorv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant