ionic live reload not working


to your account, Ionic version: (check one with "x") Cordova VS Code extension version: 1.7.0; VSCode version: 1.30.2; OS platform and version: Windows 10 - 1803; NodeJS version: 10.15.1; Cordova version: 8.1.2 Can you show me the output of ionic serve ? Problem solved :D. @dwieeb Is there anything else I can provide or do to help you with this issue? [15:52:57] deeplinks finished in 16 ms Is this not the service worker issue @manticarodrigo described? It is one of many examples on where Ionic Serve and live-reload functionality falls short. For iOS open Safari and enable Develop Menu.Open ~ Develop > my device > my ip address. This post was created with the Ionic 4 Beta 13! Rename your ionic.project file at the root of app, to ionic.config.json If problem persists, delete your node_modules folder, and run npm install again. any comment? To make it work you need to wait until new version of Cordova Tools is released with changes from this PR: #494 and then update your configuration like this: In the case of iOS, we have iOS Simulator, which we could run with ionic emulate ios. Remember ionic serve? https://github.com/ionic-team/ionic-app-scripts, my app on browser show me the building banner, changes are not refreseh and i have to run another time ionic serve. We’ll occasionally send you account related emails. Miguelonga .I got that using Cordova run Android. The text was updated successfully, but these errors were encountered: Hi @CodeDoctor34 and thanks for creating separate issue. I did originally try it by doing without the run arguments, but I found that for some reason it wouldn't start with live reloading, it almost seemed like it was ignoring the configuration properties I had set. That's been the solution for a few people now. Plug in your device. (live reload not working). Steps to reproduce: Software versions. 3. run: 1. External: http://192.168.1.7:8100 and to test that I change my source code and changes got reflected in the simulator live reload . Thank you. Are there any dependencies I need to make sure are installed myself or any way of outputting any logs on the files that should be being watched or running the watch command on it's own with a verbose output? [15:53:08] sass finished in 936 ms [17:35:44] deeplinks started ... [17:35:58] postprocess started ... If problem persists again, you are a unlucky guy (joke), then update your ionic-cli to the latest version using npm install ionic-cli@latest it'is not just the browser that doesn't reload, but also the build don't happen when I change something in my code, the version 2.1.4 of @ionic/app-scripts solved the problem for me, @Lahrachtdi - so, I have already this version - but it's not work with livereload, @airstep I don't know what's happen, it is not working anymore. the ouput am getting. Please feel free to create a new one if needed. Conclusion. [15:53:01] webpack started ... Hm, tried setting the plugin and that didn’t help for me; neither did additionally removing my CSP line. Try dragging the center content to the right (works with the mouse as well) to expose … 3) Create a MyModal page acting as a modal. One way to force the root page to reload is to ensure that its route is different. I had uncommented the service worker script in my index.html briefly so my browser had registered to it and the cache was still there. [15:53:08] watch ready in 10.94 s Hybrid mobile apps, like native mobile apps, should not be tested via a … Also ionic cordova run android -l -c --verbose - it appears because the serve command doesn't add plugins it brings up an error. Looking forward to the new release. A webpack installation on a web-based Laravel project is not watching files or creating the final css files. Live reload fails when trying to override configuration arguments with: Ionic live reload should run when using the "livereload": true configuration. I think this node is closed - so we must go there: [15:53:08] postprocess started ... We’ll occasionally send you account related emails. When active, Live Reload will reload the browser and/or WebView when changes in the app are detected. While running ionic serve or ionic run -l no file changes trigger a reload or have any effect. [15:53:01] copy finished in 3.85 s [15:53:08] lint started ... Hi! Webpack watch command was therefore not working. privacy statement. [17:35:44] preprocess started ... By clicking “Sign up for GitHub”, you agree to our terms of service and Sometimes we need to reload the views. EDIT: I've raised an issue there webpack/webpack#5018 - I think this issue is OK to close :). Finally, do a clean and rebuild just in case. Setting max_user_watches to a higher value fixed the livereload problem for me too. @anesask change port doesn't work in my case. After that I just looked at different issues and found this one: On Linux (or Mac) we have a max number of system watchers we can place at an IO level (from my understanding). [15:53:08] postprocess finished in less than 1 ms ``. @airstep width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, ,