Live reload

One of the most challenging factors in the software development process, in terms of time management, is recompiling the code, deploying it, and restarting the server to see the changes you made. Generally, the frontend code written in JavaScript does not require compilation, and can immediately reflect the changes upon browser refresh. Nevertheless, the latest frontend frameworks require some sort of transpilation after making changes in the script file.

In this situation, for any single code change, typically, you need to build, deploy, and restart the server. This will badly impact developer productivity. To avoid this, JHipster supports a mechanism called live reload. JHipster generates a Spring Boot-based application with the DevTools module to refresh the changes on the server without doing a cold restart. This is enabled by default, so whenever any Java code changes occur, it will automatically refresh them on the server. The live reloads for any frontend code can be achieved through BrowserSync, which can be started with the npm start command, and is accessible at http://localhost:9000.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.218.55.14