{"action":"opened","issue":{"url":"https://api.github.com/repos/angular/angular-cli/issues/9606","repository_url":"https://api.github.com/repos/angular/angular-cli","labels_url":"https://api.github.com/repos/angular/angular-cli/issues/9606/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular-cli/issues/9606/comments","events_url":"https://api.github.com/repos/angular/angular-cli/issues/9606/events","html_url":"https://github.com/angular/angular-cli/issues/9606","id":296425728,"number":9606,"title":"Angular CLI devserver doesn't properly watch files","user":{"login":"juristr","id":542458,"avatar_url":"https://avatars3.githubusercontent.com/u/542458?v=4","gravatar_id":"","url":"https://api.github.com/users/juristr","html_url":"https://github.com/juristr","followers_url":"https://api.github.com/users/juristr/followers","following_url":"https://api.github.com/users/juristr/following{/other_user}","gists_url":"https://api.github.com/users/juristr/gists{/gist_id}","starred_url":"https://api.github.com/users/juristr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juristr/subscriptions","organizations_url":"https://api.github.com/users/juristr/orgs","repos_url":"https://api.github.com/users/juristr/repos","events_url":"https://api.github.com/users/juristr/events{/privacy}","received_events_url":"https://api.github.com/users/juristr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-12T15:55:59Z","updated_at":"2018-02-12T15:55:59Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"### Versions\r\n```\r\n _                      _                 ____ _     ___\r\n  / \\   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|\r\n / △ \\ | '_ \\ / _` | | | | |/ _` | '__|   | |   | |    | |\r\n/ ___ \\| | | | (_| | |_| | | (_| | |      | |___| |___ | |\r\n/_/   \\_\\_| |_|\\__, |\\__,_|_|\\__,_|_|       \\____|_____|___|\r\n              |___/\r\n\r\nAngular CLI: 1.6.5\r\nNode: 9.5.0\r\nOS: linux x64\r\nAngular: 5.2.3\r\n... animations, common, compiler, compiler-cli, core, forms\r\n... language-service, platform-browser, platform-browser-dynamic\r\n... router\r\n\r\n@angular/cli: 1.6.5\r\n@angular-devkit/build-optimizer: 0.0.42\r\n@angular-devkit/core: 0.0.29\r\n@angular-devkit/schematics: 0.0.52\r\n@ngtools/json-schema: 1.1.0\r\n@ngtools/webpack: 1.9.5\r\n@schematics/angular: 0.1.17\r\ntypescript: 2.6.2\r\nwebpack: 3.10.0\r\n```\r\n\r\n### Repro steps\r\n\r\n* Use a fresh Angular CLI project\r\n* Execute `ng serve`\r\n* Make a change in a TypeScript file file\r\n\r\n### Observed behavior\r\n\r\nNothing happens, the change is not visible on the served port `localhost:4200`.\r\n\r\n### Desired behavior\r\n\r\nAs usual, the devserver should pick up the change and recompile the TypeScript files.\r\n\r\n### Mention any other details that might be useful (optional)\r\n\r\nUpon installation of the npm packages the following warning appears:\r\n\r\n```\r\nnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules/fsevents):\r\nnpm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {\"os\":\"darwin\",\"arch\":\"any\"} (current: {\"os\":\"linux\",\"arch\":\"x64\"})\r\n```\r\n\r\nAlso, as a _workaround for now_ adding the `poll` flag seems to work\r\n\r\n```\r\n$ ng serve --poll=1000\r\n```\r\n\r\n---\r\n\r\nThis issue seems related to #8168 "}}
{"actor":{"display_login":"juristr"}}