Setting up live reloads for an application

Let's start the perfect development setup for the application we created. In a Terminal, start the server in dev mode by running ./gradlew, and in another Terminal, start the client-side development server by running npm start.

Now, when you make any changes on the server-side, simply run ./gradlew compileJava, or if you are using an IDE, click on the Compile button.

With IntelliJ IDEA, files are automatically saved, and so you can press Ctrl + S to compile the classes, giving you a nice workflow. In Eclipse, saving a class automatically compiles it.

When you make changes on the client-side, simply save the file and webpack dev server and BrowserSync will do the rest. Now let's see how we can customize an entity.

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

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