{"action":"created","issue":{"url":"https://api.github.com/repos/ionic-team/ionic/issues/12409","repository_url":"https://api.github.com/repos/ionic-team/ionic","labels_url":"https://api.github.com/repos/ionic-team/ionic/issues/12409/labels{/name}","comments_url":"https://api.github.com/repos/ionic-team/ionic/issues/12409/comments","events_url":"https://api.github.com/repos/ionic-team/ionic/issues/12409/events","html_url":"https://github.com/ionic-team/ionic/issues/12409","id":244071149,"number":12409,"title":"Live reload does not working as expected, have to save several times the file to get it work","user":{"login":"mburger81","id":3778892,"avatar_url":"https://avatars0.githubusercontent.com/u/3778892?v=4","gravatar_id":"","url":"https://api.github.com/users/mburger81","html_url":"https://github.com/mburger81","followers_url":"https://api.github.com/users/mburger81/followers","following_url":"https://api.github.com/users/mburger81/following{/other_user}","gists_url":"https://api.github.com/users/mburger81/gists{/gist_id}","starred_url":"https://api.github.com/users/mburger81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mburger81/subscriptions","organizations_url":"https://api.github.com/users/mburger81/orgs","repos_url":"https://api.github.com/users/mburger81/repos","events_url":"https://api.github.com/users/mburger81/events{/privacy}","received_events_url":"https://api.github.com/users/mburger81/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-19T14:59:01Z","updated_at":"2017-07-19T15:11:14Z","closed_at":null,"body":"**Ionic version:**  (check one with \"x\")\r\n[ ] **1.x** (For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)\r\n[ ] **2.x**\r\n[x] **3.x**\r\n\r\n**I'm submitting a ...**  (check one with \"x\")\r\n[x] bug report\r\n[ ] feature request\r\n[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/\r\n\r\n**Current behavior:**\r\nThe sample app I created for you, is using your sidemenu starter template. I changed the pages to `IonicPage's` and use them for `lazyloading`. Also the `HomePage` has a Button to open a ModalPage which is also lazy loaded.\r\n\r\n![image](https://user-images.githubusercontent.com/3778892/28373664-2021913e-6ca3-11e7-884d-9a87db3410d1.png)\r\n\r\n\r\nThe current behavior is, if we change anyhting in the for example `home.html` like button color, the framework is reloading the app in the chrome browser, but the changes are not applied. We have to save several times the file to get the livereload work and see the changes in browser.\r\n\r\nWe are not sure what is the reason for that, but at our normal production app where we had this bug after upgrade ionic-angular, it looked like this problem is only on lazy loaded `ModaPages`, for that reason this demo app has a ModalPage included. But on this example I'm sharing here we have the problem also on the simple `home.html` file.\r\n\r\nSometimes we also get a old old page in the browser, for example the file as it was 5 or 6 save events earlier. :call_me_hand: \r\n\r\n\r\n**Steps to reproduce:**\r\nI created a simple repository to reproduce the error:\r\nhttps://github.com/mburger81/modal-page-live-reload\r\n(please test it :+1:)\r\n\r\n\r\n\r\n**Ionic info:** (run `ionic info` from a terminal/cmd prompt and paste output below):\r\n\r\n```\r\nglobal packages:\r\n    @ionic/cli-utils : 1.5.0\r\n    Ionic CLI        : 3.5.0\r\n\r\nlocal packages:\r\n    @ionic/app-scripts              : 2.0.2\r\n    @ionic/cli-plugin-ionic-angular : 1.3.2\r\n    Ionic Framework                 : ionic-angular 3.5.3\r\n\r\nSystem:\r\n    Node       : v6.11.1\r\n    OS         : Linux 4.10\r\n    Xcode      : not installed\r\n    ios-deploy : not installed\r\n    ios-sim    : not installed\r\n    npm        : 5.3.0 \r\n\r\n```\r\n\r\n**Edit**\r\nI'm using latest chrome: \r\nVersion 59.0.3071.115 (Official Build) (64-bit)"},"comment":{"url":"https://api.github.com/repos/ionic-team/ionic/issues/comments/316418797","html_url":"https://github.com/ionic-team/ionic/issues/12409#issuecomment-316418797","issue_url":"https://api.github.com/repos/ionic-team/ionic/issues/12409","id":316418797,"user":{"login":"mburger81","id":3778892,"avatar_url":"https://avatars0.githubusercontent.com/u/3778892?v=4","gravatar_id":"","url":"https://api.github.com/users/mburger81","html_url":"https://github.com/mburger81","followers_url":"https://api.github.com/users/mburger81/followers","following_url":"https://api.github.com/users/mburger81/following{/other_user}","gists_url":"https://api.github.com/users/mburger81/gists{/gist_id}","starred_url":"https://api.github.com/users/mburger81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mburger81/subscriptions","organizations_url":"https://api.github.com/users/mburger81/orgs","repos_url":"https://api.github.com/users/mburger81/repos","events_url":"https://api.github.com/users/mburger81/events{/privacy}","received_events_url":"https://api.github.com/users/mburger81/received_events","type":"User","site_admin":false},"created_at":"2017-07-19T15:11:14Z","updated_at":"2017-07-19T15:11:14Z","body":"OMG: I'm testing now again the demo app I shared here, and at the moment I can't reproduce the issue anymore. :sob:\r\n\r\nDoes anyone have a similar issue, or see this in the last time?"}}
{"actor":{"display_login":"mburger81"}}