{"action":"created","issue":{"url":"https://api.github.com/repos/NathanWalker/angular2-seed-advanced/issues/144","repository_url":"https://api.github.com/repos/NathanWalker/angular2-seed-advanced","labels_url":"https://api.github.com/repos/NathanWalker/angular2-seed-advanced/issues/144/labels{/name}","comments_url":"https://api.github.com/repos/NathanWalker/angular2-seed-advanced/issues/144/comments","events_url":"https://api.github.com/repos/NathanWalker/angular2-seed-advanced/issues/144/events","html_url":"https://github.com/NathanWalker/angular2-seed-advanced/issues/144","id":162848275,"number":144,"title":"When adding component manually and making changes, the component breaks until I call npm start again.","user":{"login":"Bohmaster","id":9263561,"avatar_url":"https://avatars.githubusercontent.com/u/9263561?v=3","gravatar_id":"","url":"https://api.github.com/users/Bohmaster","html_url":"https://github.com/Bohmaster","followers_url":"https://api.github.com/users/Bohmaster/followers","following_url":"https://api.github.com/users/Bohmaster/following{/other_user}","gists_url":"https://api.github.com/users/Bohmaster/gists{/gist_id}","starred_url":"https://api.github.com/users/Bohmaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bohmaster/subscriptions","organizations_url":"https://api.github.com/users/Bohmaster/orgs","repos_url":"https://api.github.com/users/Bohmaster/repos","events_url":"https://api.github.com/users/Bohmaster/events{/privacy}","received_events_url":"https://api.github.com/users/Bohmaster/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-06-29T06:11:26Z","updated_at":"2016-07-01T22:21:46Z","closed_at":null,"body":"First of all, thank you very much for building this repository. It's great to get up running quickly.\r\n\r\nI wanted to add a new component (say Adverts) and I've copied the same structure of the others components(app, home, about) but only with the ts, html, tns.html and css files\r\n\r\nWhen I run \"npm start\" it's all working just fine. Until I make a change inside the adverts folder (app/components/adverts). Then I get this error after livereload has detected file changes.\r\n\r\n`platform-browser.umd.js:2311 EXCEPTION: Error: Uncaught (in promise): Error: Cannot match any routes: 'adverts'`\r\n\r\nIf I shutdown the server and start it again with \"npm start\" the changes I've made take effect until the next change. If I make a change in the default components folder (like home.component.ts) livereload works fine and no error is thrown.\r\n\r\nSo I suppose it has to be something related to how I added my new custom component.\r\n\r\nIs there a specific way of adding new components? All the extra files in default components like \"spec\" and \"js.map\" were added manually? Do I need to explicity\r\ntell somewhere about my component to see my changes in runtime?\r\n\r\nCheers, from Argentina."},"comment":{"url":"https://api.github.com/repos/NathanWalker/angular2-seed-advanced/issues/comments/230059873","html_url":"https://github.com/NathanWalker/angular2-seed-advanced/issues/144#issuecomment-230059873","issue_url":"https://api.github.com/repos/NathanWalker/angular2-seed-advanced/issues/144","id":230059873,"user":{"login":"Bohmaster","id":9263561,"avatar_url":"https://avatars.githubusercontent.com/u/9263561?v=3","gravatar_id":"","url":"https://api.github.com/users/Bohmaster","html_url":"https://github.com/Bohmaster","followers_url":"https://api.github.com/users/Bohmaster/followers","following_url":"https://api.github.com/users/Bohmaster/following{/other_user}","gists_url":"https://api.github.com/users/Bohmaster/gists{/gist_id}","starred_url":"https://api.github.com/users/Bohmaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bohmaster/subscriptions","organizations_url":"https://api.github.com/users/Bohmaster/orgs","repos_url":"https://api.github.com/users/Bohmaster/repos","events_url":"https://api.github.com/users/Bohmaster/events{/privacy}","received_events_url":"https://api.github.com/users/Bohmaster/received_events","type":"User","site_admin":false},"created_at":"2016-07-01T22:21:46Z","updated_at":"2016-07-01T22:21:46Z","body":"@vyakymenko Thank you very much! I've added just one extra component based in the structure of the others."}}
{"actor":{"display_login":"Bohmaster"}}