{"action":"opened","issue":{"url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/170","repository_url":"https://api.github.com/repos/driftyco/ionic-app-scripts","labels_url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/170/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/170/comments","events_url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/170/events","html_url":"https://github.com/driftyco/ionic-app-scripts/issues/170","id":183188107,"number":170,"title":"Template live-reload not working on 0.0.34 with/ionic2-rc1 ","user":{"login":"devarg","id":10100650,"avatar_url":"https://avatars.githubusercontent.com/u/10100650?v=3","gravatar_id":"","url":"https://api.github.com/users/devarg","html_url":"https://github.com/devarg","followers_url":"https://api.github.com/users/devarg/followers","following_url":"https://api.github.com/users/devarg/following{/other_user}","gists_url":"https://api.github.com/users/devarg/gists{/gist_id}","starred_url":"https://api.github.com/users/devarg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devarg/subscriptions","organizations_url":"https://api.github.com/users/devarg/orgs","repos_url":"https://api.github.com/users/devarg/repos","events_url":"https://api.github.com/users/devarg/events{/privacy}","received_events_url":"https://api.github.com/users/devarg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-15T04:29:56Z","updated_at":"2016-10-15T04:29:56Z","closed_at":null,"body":"#### Short description of the problem:\r\nUpdates on html templates are pretty unstable. I'm writing down a use case in which I add and remove a single character in a template. It was working until 0.0.32. I updated skipping 0.0.33 #155 \r\n\r\n#### What behavior are you expecting?\r\nThat when I add a character, the template should finish rendering and reload on browser.\r\n\r\n**Steps to reproduce:**\r\n1. Run ionic serve on a working app\r\n2. Update template adding a character to any text -> template updates ok\r\n3. Wait for update\r\n4. verify that the update impacts almost instantly\r\n5. Try to make another update\r\n6. Verify that it won't react to further updates...\r\n\r\n```\r\nC:\\Users\\devarg\\Documents\\dev\\project\\app>ionic serve\r\n\r\nRunning 'serve:before' npm script before serve\r\n\r\n> project-app@0.0.1 watch C:\\Users\\devarg\\Documents\\dev\\project\\app\r\n> ionic-app-scripts watch --debug\r\n\r\n[01:06:30]  ionic-app-scripts 0.0.34\r\n[01:06:30]  watch started ... MEM: 65.0MB\r\n[01:06:30]  build dev started ... MEM: 65.0MB\r\n[01:06:30]  clean started ... MEM: 65.0MB\r\n[ DEBUG! ]  clean C:\\Users\\devarg\\Documents\\dev\\project\\app\\www\\build  MEM: 65.0MB\r\n[01:06:30]  clean finished in 10 ms MEM: 65.2MB\r\n[01:06:30]  copy started ... MEM: 65.2MB\r\n[ DEBUG! ]  worker created, task: lint, pid: 11092  MEM: 65.7MB\r\n[01:06:30]  transpile started ... MEM: 65.7MB\r\n[ DEBUG! ]  tslint config: C:\\Users\\devarg\\Documents\\dev\\project\\app\\tslint.json MEM:\r\n            37.4MB\r\n[01:06:31]  lint started ... MEM: 37.8MB\r\n[01:06:36]  lint finished in 5.46 s MEM: 127.2MB\r\n[ DEBUG! ]  worker resolve, task: lint, pid: 11092 MEM: 127.2MB\r\n[01:06:39]  transpile finished in 9.02 s MEM: 237.7MB\r\n[01:06:39]  bundle started ... MEM: 237.7MB\r\n[ DEBUG! ]  entry: C:\\Users\\devarg\\Documents\\dev\\project\\app\\src\\app\\main.dev.ts, dest:\r\n            C:\\Users\\devarg\\Documents\\dev\\project\\app\\www\\build\\main.js, cache: undefined,\r\n            format: iife  MEM: 237.7MB\r\n[01:06:39]  copy finished in 9.19 s MEM: 238.5MB\r\n[ DEBUG! ]  worker exited, task: lint, pid: 11092  MEM: 238.5MB\r\n[ DEBUG! ]  bundle.modules: 1378  MEM: 530.3MB\r\n[ DEBUG! ]  Cached module paths: 1378, C:\\Users\\devarg\\AppData\\Local\\Temp\\argdocumentsdevprojectapp\\modulepaths.json\r\n             MEM: 530.3MB\r\n[01:07:01]  bundle finished in 21.73 s MEM: 878.0MB\r\n[01:07:01]  sass started ... MEM: 878.0MB\r\n[ DEBUG! ]  worker created, task: sass, pid: 14116  MEM: 878.1MB\r\n[ DEBUG! ]  sass outFile: C:\\Users\\devarg\\Documents\\dev\\project\\app\\www\\build\\main.css\r\n            MEM: 53.7MB\r\n[ DEBUG! ]  sass includePaths: C:\\Users\\devarg\\Documents\\dev\\project\\app\\src,node_modules/ionic-angular/themes,node_modules/ionicons/dist/scss\r\n            MEM: 54.0MB\r\n[ DEBUG! ]  sass moduleDirectories: 165 MEM: 54.4MB\r\n[ DEBUG! ]  sass userSassVariableFiles: 1 MEM: 54.2MB\r\n[ DEBUG! ]  sass componentSassFiles: 152 MEM: 54.2MB\r\n[ DEBUG! ]  sass, start postcss/autoprefixer MEM: 57.6MB\r\n[ DEBUG! ]  sass: postcss/autoprefixer completed MEM: 93.3MB\r\n[ DEBUG! ]  sass start write output: C:\\Users\\devarg\\Documents\\dev\\project\\app\\www\\build\\main.css\r\n            MEM: 93.3MB\r\n[ DEBUG! ]  sass saved output: C:\\Users\\devarg\\Documents\\dev\\project\\app\\www\\build\\main.css\r\n            MEM: 94.3MB\r\n[ DEBUG! ]  worker resolve, task: sass, pid: 14116 MEM: 94.3MB\r\n[01:07:04]  sass finished in 3.23 s MEM: 878.8MB\r\n[01:07:04]  build dev finished in 34.11 s MEM: 878.8MB\r\n[ DEBUG! ]  worker exited, task: sass, pid: 14116  MEM: 878.9MB\r\n[ DEBUG! ]  watcher ready: C:\\Users\\devarg\\Documents\\dev\\project\\appC:\\Users\\devarg\\Documents\\dev\\project\r\n            \\app\\src/assets  MEM: 879.4MB\r\n[ DEBUG! ]  watcher ready: C:\\Users\\devarg\\Documents\\dev\\project\\appC:\\Users\\devarg\\Documents\\dev\\project\r\n            \\app\\src/**/*.ts  MEM: 880.1MB\r\n[ DEBUG! ]  watcher ready: C:\\Users\\devarg\\Documents\\dev\\project\\appC:\\Users\\devarg\\Documents\\dev\\project\r\n            \\app\\src/**/*.html  MEM: 880.1MB\r\n[ DEBUG! ]  watcher ready: C:\\Users\\devarg\\Documents\\dev\\project\\appC:\\Users\\devarg\\Documents\\dev\\project\r\n            \\app\\src/**/*.scss  MEM: 880.1MB\r\n[01:07:04]  watch ready in 34.28 s MEM: 880.1MB\r\nRunning live reload server: http://localhost:35729\r\nWatching: www/**/*, !www/lib/**/*, !www/**/*.map\r\n√ Running dev server:  http://localhost:8100\r\nIonic server commands, enter:\r\n  restart or r to restart the client app from the root\r\n  goto or g and a url to have the app navigate to the given url\r\n  consolelogs or c to enable/disable console log output\r\n  serverlogs or s to enable/disable server log output\r\n  quit or q to shutdown the server and exit\r\n\r\nionic $\r\n\r\n<<<<<<<<<<APP Starts OK\r\n<<<<<<<<<<Now I add a letter to a template and save and this is the result\r\n\r\nionic $ [ DEBUG! ]  watch callback start, id: 0, isProd: false, event: change, path: src\\pages\\cart\\cart-modal-view.html\r\n             MEM: 880.1MB\r\n[ DEBUG! ]  watch callback complete, id: 0, isProd: false, event: change, path: src\\pages\\cart\\cart-modal-view.html\r\n             MEM: 880.1MB\r\n[01:08:59]  template update started ... MEM: 880.1MB\r\n[ DEBUG! ]  templateUpdate, event: change, path: C:\\Users\\devarg\\Documents\\dev\\project\\app\\src\\pages\\cart\\cart-modal-view.html\r\n             MEM: 880.1MB\r\n[ DEBUG! ]  templateUpdate, updated js bundle, path: C:\\Users\\devarg\\Documents\\dev\\project\\app\\src\\pages\\cart\\cart-modal-view.html\r\n             MEM: 903.8MB\r\n[01:08:59]  template update finished in 159 ms MEM: 903.8MB\r\n[01:08:59]  watch ready\r\n[ DEBUG! ]  watch callback start, id: 1, isProd: false, event: change, path: src\\pages\\cart\\cart-modal-view.html\r\n             MEM: 903.8MB\r\n[ DEBUG! ]  watch callback complete, id: 1, isProd: false, event: change, path: src\\pages\\cart\\cart-modal-view.html\r\n             MEM: 903.8MB\r\n[01:08:59]  template update started ... MEM: 903.8MB\r\n[ DEBUG! ]  templateUpdate, event: change, path: C:\\Users\\devarg\\Documents\\dev\\project\\app\\src\\pages\\cart\\cart-modal-view.html\r\n             MEM: 903.8MB\r\nJS changed:   C:\\Users\\devarg\\Documents\\dev\\project\\app\\www\\build\\main.js\r\n\r\n<<<<<<<<<<AND HERE UPDATES IT HANGS... And further modifications won't work\r\n\r\n```\r\n\r\n**Which @ionic/app-scripts version are you using?**\r\n0.0.34\r\n\r\n**Other information:** (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)\r\n\r\nWindows 10\r\n--------------------------------                                                                                                                                                                    \r\n--------------------------------      \r\n< Ionic info                                                                                                                                                              \r\n                                                                                                                                                                                                    \r\nYour system information:                                                                                                                                                                            \r\n                                                                                                                                                                                                    \r\nCordova CLI: 6.3.0                                                                                                                                                                                  \r\nIonic Framework Version: 2.0.0-rc.1                                                                                                                                                                 \r\nIonic CLI Version: 2.1.1                                                                                                                                                                            \r\nIonic App Lib Version: 2.1.1                                                                                                                                                                        \r\nIonic App Scripts Version: 0.0.34                                                                                                                                                                   \r\nOS:                                                                                                                                                                                                 \r\nNode Version: v6.0.0                                                                                                                                                                 \r\n                                                                                                                                                                                                    \r\n--------------------------------  \r\nPackage Json installed deps\r\n```\r\n  \"dependencies\": {\r\n    \"@angular/common\": \"^2.1.0\",\r\n    \"@angular/compiler\": \"^2.0.0\",\r\n    \"@angular/compiler-cli\": \"0.6.2\",\r\n    \"@angular/core\": \"^2.0.2\",\r\n    \"@angular/forms\": \"^2.0.0\",\r\n    \"@angular/http\": \"^2.0.0\",\r\n    \"@angular/platform-browser\": \"^2.0.0\",\r\n    \"@angular/platform-browser-dynamic\": \"^2.0.0\",\r\n    \"@angular/platform-server\": \"^2.0.0\",\r\n    \"@ionic/storage\": \"^1.0.3\",\r\n    \"ionic-angular\": \"^2.0.0-rc.1\",\r\n    \"ionic-native\": \"^2.2.3\",\r\n    \"ionicons\": \"^3.0.0\",\r\n    \"rxjs\": \"5.0.0-beta.12\",\r\n    \"zone.js\": \"^0.6.21\",\r\n    \"@types/lodash\": \"^4.14.37\",\r\n    \"angular2-jwt\": \"^0.1.24\",\r\n    \"moment\": \"^2.15.1\"\r\n  },\r\n  \"devDependencies\": {\r\n    \"@ionic/app-scripts\": \"0.0.34\",\r\n    \"typescript\": \"^2.0.3\"\r\n  }\r\n```"}}
{"actor":{"display_login":"devarg"}}