{"action":"created","issue":{"url":"https://api.github.com/repos/sveltejs/sapper/issues/416","repository_url":"https://api.github.com/repos/sveltejs/sapper","labels_url":"https://api.github.com/repos/sveltejs/sapper/issues/416/labels{/name}","comments_url":"https://api.github.com/repos/sveltejs/sapper/issues/416/comments","events_url":"https://api.github.com/repos/sveltejs/sapper/issues/416/events","html_url":"https://github.com/sveltejs/sapper/pull/416","id":356602361,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEyODIwNjM0","number":416,"title":"Blessed logs","user":{"login":"Rich-Harris","id":1162160,"node_id":"MDQ6VXNlcjExNjIxNjA=","avatar_url":"https://avatars3.githubusercontent.com/u/1162160?v=4","gravatar_id":"","url":"https://api.github.com/users/Rich-Harris","html_url":"https://github.com/Rich-Harris","followers_url":"https://api.github.com/users/Rich-Harris/followers","following_url":"https://api.github.com/users/Rich-Harris/following{/other_user}","gists_url":"https://api.github.com/users/Rich-Harris/gists{/gist_id}","starred_url":"https://api.github.com/users/Rich-Harris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rich-Harris/subscriptions","organizations_url":"https://api.github.com/users/Rich-Harris/orgs","repos_url":"https://api.github.com/users/Rich-Harris/repos","events_url":"https://api.github.com/users/Rich-Harris/events{/privacy}","received_events_url":"https://api.github.com/users/Rich-Harris/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-09-03T21:34:25Z","updated_at":"2018-09-07T20:54:28Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/sveltejs/sapper/pulls/416","html_url":"https://github.com/sveltejs/sapper/pull/416","diff_url":"https://github.com/sveltejs/sapper/pull/416.diff","patch_url":"https://github.com/sveltejs/sapper/pull/416.patch"},"body":"This improves (I think) dev mode logging by separating build logs from server logs, instead of interleaving them as is currently the case. It looks like this:\r\n\r\n<img width=\"1553\" alt=\"screen shot 2018-09-03 at 5 29 35 pm\" src=\"https://user-images.githubusercontent.com/1162160/45001883-23cb7f80-af9f-11e8-84d4-510c90367526.png\">\r\n\r\nThe terminal is on the right hand side, split into a top half and a bottom half. The top half contains build logs (including warnings, such as the unused style notice), while the bottom half contains whatever your server logs out. Invalidating the build clears the top half; if the server successfully restarts, the bottom half is cleared.\r\n\r\nFor terminals that are wider than they are tall, you can toggle between horizontal and vertical splits by clicking on the divider, which is also draggable.\r\n\r\nAlso fixed in this PR: #305.\r\n\r\nTo get the old behaviour back, do `sapper dev --stream`. "},"comment":{"url":"https://api.github.com/repos/sveltejs/sapper/issues/comments/419563026","html_url":"https://github.com/sveltejs/sapper/pull/416#issuecomment-419563026","issue_url":"https://api.github.com/repos/sveltejs/sapper/issues/416","id":419563026,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTU2MzAyNg==","user":{"login":"Rich-Harris","id":1162160,"node_id":"MDQ6VXNlcjExNjIxNjA=","avatar_url":"https://avatars3.githubusercontent.com/u/1162160?v=4","gravatar_id":"","url":"https://api.github.com/users/Rich-Harris","html_url":"https://github.com/Rich-Harris","followers_url":"https://api.github.com/users/Rich-Harris/followers","following_url":"https://api.github.com/users/Rich-Harris/following{/other_user}","gists_url":"https://api.github.com/users/Rich-Harris/gists{/gist_id}","starred_url":"https://api.github.com/users/Rich-Harris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rich-Harris/subscriptions","organizations_url":"https://api.github.com/users/Rich-Harris/orgs","repos_url":"https://api.github.com/users/Rich-Harris/repos","events_url":"https://api.github.com/users/Rich-Harris/events{/privacy}","received_events_url":"https://api.github.com/users/Rich-Harris/received_events","type":"User","site_admin":false},"created_at":"2018-09-07T20:54:28Z","updated_at":"2018-09-07T20:54:28Z","author_association":"MEMBER","body":"@kylecordes that is brilliant, and also breath-takingly obvious. The only real downside is you don't have as nice an experience using an editor's integrated terminal, but the upsides far outweigh it as far as I can see."}}
{"actor":{"display_login":"Rich-Harris"}}