Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Ivailo Hristov
6,297 PointsQuestion about restarting the server
Should even after little change i have to stop and run server again? It cost some time...
1 Answer
Alexander Nikiforov
Java Web Development Techdegree Graduate 22,175 PointsGlad that you've asked.
There are tons of features in different Frameworks that allow you to restart Server automatically when changes happen.
Especially nice are Python Frameworks , and JavaScript ones. They all come with this auto-restart feature.
In Java situation is a bit harder, because we have to re-compile classes, but it is possible
There is not much that I know in Spark Framework.
But I do know one in Spring Framework.
https://dzone.com/articles/continuous-auto-restart-with-spring-boot-devtools
This is rather old post in Dzone. But it should work with newer versions.
And here is the link to documentation as well