Could not connect to livereload server11/25/2023 ![]() We can change this in the IntelliJ IDEA Registry, though. Unfortunately, as you can see in the hint of this setting, this does not work while an application is running. ⚠ The previous step has to be done for each IntelliJ IDEA project again! But in "File / Settings / Compiler" you can activate "Build project automatically" - see screenshot: ![]() In either case re-import your dependency config into IntelliJ IDEA (if auto-import is not activated anyway).Īfter you made and changes in your source code, you usually have to run "Build Project" to rebuild your code and restart SpringBoot. In my Chrome browser it does not turn blue when connected, but one can also hover with the mouse pointer over the icon to see it's status.įor Maven, add this dependency to your pom.xml (given the parent-pom is effectively spring-boot-starter-parent with proper version number).įor Gradle, also given you have a spring-boot-starter configuration, add the dependency like this:Ĭompile(":spring-boot-devtools") Add the plugin "LiveReaload" supplied by - see screenshot.Type "lifereload" in the search field on the top left.Open the Google Chrome WebStore with your Chrome browser.Installing the LiveRewiew plugin in Google Chrome (* At the time of writing this article, I am using Firefox Quantum 58.0.2 64bit on Ubuntu Linux 17.10), if you use a different version or get newer plugin versions, the details might vary.) It should turn from black to blue when connected, but if not, also hover with your mouse pointer over the icon to see it's status. To activate the live reload functionality, click the icon to connect.Now you see an icon which looks like a circle made of two arrows around a small circle in your Firefox toolbar - see screenshot. Supports Firefox 57 (Firefox Quantum) by Todd Wolfson. It's the Web extension based version of LiveReload. Select and install the plugin "LiveReload 20.2.1" (*) - see screenshot.Type "livereload" in the search field in the top right area.Open the Plugin Settings Page of your Firefox browser.Installing the LiveReview plugin in Firefox To mitigate risk, I suggest that you use separate operating system account/profile for critical and non-critical tasks and only install such plugins in the browsers of the non-critical account/profile. Successfully compiled 1 file with Babel (110ms).Working on a web application with SpringBoot and want your changes made in IntelliJ IDEA to be visible in the browser right away? Then this is for you:īefore you install the following plugins to your browser, be aware that these could spy on your browser activity. Saw change to /home/user/projects//webapp/controller/.map Successfully compiled 1 file with Babel (112ms). Reloading: /home/user/projects//webapp/controller/ Saw change to /home/user/projects//webapp/controller/ URL: Saw change to /home/user/projects//webapp/controller/.map Info server:custommiddleware:livereload Livereload server started! Info server:custommiddleware:livereload Livereload connecting to port 35729 for path webapp LiveReload is waiting for a browser to connect.Įxtensions: xml,json,properties,html,css,js,png,gif,jpg,php,php5,py,rb,erb,coffee Info normalizer:translators:ui5Framework Using SAPUI5 version: 1.90.13 Successfully compiled 4 files with Babel (1666ms). > babel src -out-dir webapp -source-maps true -extensions ".ts.js" -copy-files -watch In the console it shows: prepend-node-path` option to include the path for the node binary npm was executed with. When I change something in the code, for example in the controller the browser reload does not get triggered. I am using Business Application Studio to develop UI5 applications and the app can be started with `npm run start` statement. I followed this tutorial to create UI5 application based on Typescript.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |