{"action":"created","issue":{"url":"https://api.github.com/repos/mgechev/angular2-seed/issues/650","repository_url":"https://api.github.com/repos/mgechev/angular2-seed","labels_url":"https://api.github.com/repos/mgechev/angular2-seed/issues/650/labels{/name}","comments_url":"https://api.github.com/repos/mgechev/angular2-seed/issues/650/comments","events_url":"https://api.github.com/repos/mgechev/angular2-seed/issues/650/events","html_url":"https://github.com/mgechev/angular2-seed/issues/650","id":141875907,"number":650,"title":"Test in a different directory than `dist/dev`","user":{"login":"allenhwkim","id":1437734,"avatar_url":"https://avatars.githubusercontent.com/u/1437734?v=3","gravatar_id":"","url":"https://api.github.com/users/allenhwkim","html_url":"https://github.com/allenhwkim","followers_url":"https://api.github.com/users/allenhwkim/followers","following_url":"https://api.github.com/users/allenhwkim/following{/other_user}","gists_url":"https://api.github.com/users/allenhwkim/gists{/gist_id}","starred_url":"https://api.github.com/users/allenhwkim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allenhwkim/subscriptions","organizations_url":"https://api.github.com/users/allenhwkim/orgs","repos_url":"https://api.github.com/users/allenhwkim/repos","events_url":"https://api.github.com/users/allenhwkim/events{/privacy}","received_events_url":"https://api.github.com/users/allenhwkim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-18T14:07:28Z","updated_at":"2016-03-18T14:52:53Z","closed_at":null,"body":"Problem:\r\nWe cannot run test while `gulp serve.dev` is running because `gulp test clears `dist/dev` and rewrites every single file\r\n\r\nSolution:\r\nRun  tests in `dist/test` directory instead of `dist/dev` directory.\r\n\r\nI have done this approach locally, and it was good experience for me.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mgechev/angular2-seed/issues/comments/198395465","html_url":"https://github.com/mgechev/angular2-seed/issues/650#issuecomment-198395465","issue_url":"https://api.github.com/repos/mgechev/angular2-seed/issues/650","id":198395465,"user":{"login":"allenhwkim","id":1437734,"avatar_url":"https://avatars.githubusercontent.com/u/1437734?v=3","gravatar_id":"","url":"https://api.github.com/users/allenhwkim","html_url":"https://github.com/allenhwkim","followers_url":"https://api.github.com/users/allenhwkim/followers","following_url":"https://api.github.com/users/allenhwkim/following{/other_user}","gists_url":"https://api.github.com/users/allenhwkim/gists{/gist_id}","starred_url":"https://api.github.com/users/allenhwkim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allenhwkim/subscriptions","organizations_url":"https://api.github.com/users/allenhwkim/orgs","repos_url":"https://api.github.com/users/allenhwkim/repos","events_url":"https://api.github.com/users/allenhwkim/events{/privacy}","received_events_url":"https://api.github.com/users/allenhwkim/received_events","type":"User","site_admin":false},"created_at":"2016-03-18T14:52:53Z","updated_at":"2016-03-18T14:52:53Z","body":"I do not know what exactly does not work. At least, I wish it does not delete all files and re-create when I run a test."}}