{"action":"closed","issue":{"url":"https://api.github.com/repos/angular/angular-cli/issues/8682","repository_url":"https://api.github.com/repos/angular/angular-cli","labels_url":"https://api.github.com/repos/angular/angular-cli/issues/8682/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular-cli/issues/8682/comments","events_url":"https://api.github.com/repos/angular/angular-cli/issues/8682/events","html_url":"https://github.com/angular/angular-cli/issues/8682","id":277925150,"number":8682,"title":"locale flag is ignored by 'ng serve/build' in JIT mode","user":{"login":"nikklassen","id":3314933,"avatar_url":"https://avatars1.githubusercontent.com/u/3314933?v=4","gravatar_id":"","url":"https://api.github.com/users/nikklassen","html_url":"https://github.com/nikklassen","followers_url":"https://api.github.com/users/nikklassen/followers","following_url":"https://api.github.com/users/nikklassen/following{/other_user}","gists_url":"https://api.github.com/users/nikklassen/gists{/gist_id}","starred_url":"https://api.github.com/users/nikklassen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikklassen/subscriptions","organizations_url":"https://api.github.com/users/nikklassen/orgs","repos_url":"https://api.github.com/users/nikklassen/repos","events_url":"https://api.github.com/users/nikklassen/events{/privacy}","received_events_url":"https://api.github.com/users/nikklassen/received_events","type":"User","site_admin":false},"labels":[{"id":444999972,"url":"https://api.github.com/repos/angular/angular-cli/labels/need:%20investigation","name":"need: investigation","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":{"login":"ocombe","id":265378,"avatar_url":"https://avatars0.githubusercontent.com/u/265378?v=4","gravatar_id":"","url":"https://api.github.com/users/ocombe","html_url":"https://github.com/ocombe","followers_url":"https://api.github.com/users/ocombe/followers","following_url":"https://api.github.com/users/ocombe/following{/other_user}","gists_url":"https://api.github.com/users/ocombe/gists{/gist_id}","starred_url":"https://api.github.com/users/ocombe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocombe/subscriptions","organizations_url":"https://api.github.com/users/ocombe/orgs","repos_url":"https://api.github.com/users/ocombe/repos","events_url":"https://api.github.com/users/ocombe/events{/privacy}","received_events_url":"https://api.github.com/users/ocombe/received_events","type":"User","site_admin":false},"assignees":[{"login":"ocombe","id":265378,"avatar_url":"https://avatars0.githubusercontent.com/u/265378?v=4","gravatar_id":"","url":"https://api.github.com/users/ocombe","html_url":"https://github.com/ocombe","followers_url":"https://api.github.com/users/ocombe/followers","following_url":"https://api.github.com/users/ocombe/following{/other_user}","gists_url":"https://api.github.com/users/ocombe/gists{/gist_id}","starred_url":"https://api.github.com/users/ocombe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocombe/subscriptions","organizations_url":"https://api.github.com/users/ocombe/orgs","repos_url":"https://api.github.com/users/ocombe/repos","events_url":"https://api.github.com/users/ocombe/events{/privacy}","received_events_url":"https://api.github.com/users/ocombe/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2017-11-29T22:07:43Z","updated_at":"2017-11-30T11:13:14Z","closed_at":"2017-11-30T11:13:14Z","author_association":"NONE","body":"<!--\r\nWe will close this issue if you don't provide the needed information.\r\nFor feature requests, delete the form below and describe the requirements and use case.\r\n-->\r\n\r\n### Versions\r\n```\r\nAngular CLI: 1.5.4\r\nNode: 8.9.0\r\nOS: darwin x64\r\nAngular: 5.0.0\r\n... animations, common, compiler, compiler-cli, core, forms\r\n... http, language-service, platform-browser\r\n... platform-browser-dynamic, router\r\n\r\n@angular/cli: 1.5.4\r\n@angular-devkit/build-optimizer: 0.0.32\r\n@angular-devkit/core: 0.0.20\r\n@angular-devkit/schematics: 0.0.35\r\n@ngtools/json-schema: 1.1.0\r\n@ngtools/webpack: 1.8.4\r\n@schematics/angular: 0.1.0\r\ntypescript: 2.4.2\r\nwebpack: 3.8.1\r\n```\r\n\r\n### Repro steps\r\n<!--\r\nSimple steps to reproduce this bug.\r\nPlease include: commands run, packages added, related code changes.\r\nA link to a sample repo would help too.\r\n-->\r\n* Start with a clean \"ng new\" repo\r\n* Add `@Inject(LOCALE_ID) locale` to the constructor of app.component.ts\r\n* `ng serve --locale 'fr'`\r\n\r\n### Observed behavior\r\n\r\nThe injected value of `LOCALE_ID` in app.component.ts is 'en-US'\r\n\r\n### Desired behavior\r\n\r\nThe injected value of `LOCALE_ID` is 'fr'\r\n\r\n### Mention any other details that might be useful (optional)\r\n\r\nRunning `ng serve --aot --locale fr` gives the expected behaviour.\r\n\r\n"}}
{"actor":{"display_login":"ocombe"}}