{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/5510","repository_url":"https://api.github.com/repos/Automattic/wp-calypso","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/5510/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/5510/comments","events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/5510/events","html_url":"https://github.com/Automattic/wp-calypso/pull/5510","id":156178433,"number":5510,"title":"CSS Hot Reload","user":{"login":"MicBosi","id":10284338,"avatar_url":"https://avatars.githubusercontent.com/u/10284338?v=3","gravatar_id":"","url":"https://api.github.com/users/MicBosi","html_url":"https://github.com/MicBosi","followers_url":"https://api.github.com/users/MicBosi/followers","following_url":"https://api.github.com/users/MicBosi/following{/other_user}","gists_url":"https://api.github.com/users/MicBosi/gists{/gist_id}","starred_url":"https://api.github.com/users/MicBosi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MicBosi/subscriptions","organizations_url":"https://api.github.com/users/MicBosi/orgs","repos_url":"https://api.github.com/users/MicBosi/repos","events_url":"https://api.github.com/users/MicBosi/events{/privacy}","received_events_url":"https://api.github.com/users/MicBosi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/Build","name":"Build","color":"006b75"},{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/OSS%20Citizen","name":"OSS Citizen","color":"5319e7"},{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/[Status]%20Needs%20Review","name":"[Status] Needs Review","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"MicBosi","id":10284338,"avatar_url":"https://avatars.githubusercontent.com/u/10284338?v=3","gravatar_id":"","url":"https://api.github.com/users/MicBosi","html_url":"https://github.com/MicBosi","followers_url":"https://api.github.com/users/MicBosi/followers","following_url":"https://api.github.com/users/MicBosi/following{/other_user}","gists_url":"https://api.github.com/users/MicBosi/gists{/gist_id}","starred_url":"https://api.github.com/users/MicBosi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MicBosi/subscriptions","organizations_url":"https://api.github.com/users/MicBosi/orgs","repos_url":"https://api.github.com/users/MicBosi/repos","events_url":"https://api.github.com/users/MicBosi/events{/privacy}","received_events_url":"https://api.github.com/users/MicBosi/received_events","type":"User","site_admin":false},"assignees":[{"login":"MicBosi","id":10284338,"avatar_url":"https://avatars.githubusercontent.com/u/10284338?v=3","gravatar_id":"","url":"https://api.github.com/users/MicBosi","html_url":"https://github.com/MicBosi","followers_url":"https://api.github.com/users/MicBosi/followers","following_url":"https://api.github.com/users/MicBosi/following{/other_user}","gists_url":"https://api.github.com/users/MicBosi/gists{/gist_id}","starred_url":"https://api.github.com/users/MicBosi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MicBosi/subscriptions","organizations_url":"https://api.github.com/users/MicBosi/orgs","repos_url":"https://api.github.com/users/MicBosi/repos","events_url":"https://api.github.com/users/MicBosi/events{/privacy}","received_events_url":"https://api.github.com/users/MicBosi/received_events","type":"User","site_admin":false}],"milestone":null,"comments":21,"created_at":"2016-05-22T23:03:32Z","updated_at":"2016-07-12T16:19:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/5510","html_url":"https://github.com/Automattic/wp-calypso/pull/5510","diff_url":"https://github.com/Automattic/wp-calypso/pull/5510.diff","patch_url":"https://github.com/Automattic/wp-calypso/pull/5510.patch"},"body":"Allow hot-reloading CSS (SASS), while, ideally keeping the current compilation speed.\r\n\r\nSteps to implement this:\r\n\r\n1) Use 'chokidar' (fs.watch) to watch our .scss files\r\n2) upon change call 'make build-css' similarly to what we do now\r\n3) on 'make' success compute the md5 of the .css(s) in 'public/'\r\n4) if any .css changed use socket.io to ping the client to reload the .css\r\n\r\nNOTES \r\n- No new dependencies are introduced as Calypso already depends on chokidar and socket.io.\r\n- This implementation is focused on simplicity and efficiency. We leverage the current CSS building process and therefore update the whole CSS in one go. In the future one might investigate ways to build and update the CSS with a finer granularity.\r\n"},"comment":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/comments/232099139","html_url":"https://github.com/Automattic/wp-calypso/pull/5510#issuecomment-232099139","issue_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/5510","id":232099139,"user":{"login":"gwwar","id":1270189,"avatar_url":"https://avatars.githubusercontent.com/u/1270189?v=3","gravatar_id":"","url":"https://api.github.com/users/gwwar","html_url":"https://github.com/gwwar","followers_url":"https://api.github.com/users/gwwar/followers","following_url":"https://api.github.com/users/gwwar/following{/other_user}","gists_url":"https://api.github.com/users/gwwar/gists{/gist_id}","starred_url":"https://api.github.com/users/gwwar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gwwar/subscriptions","organizations_url":"https://api.github.com/users/gwwar/orgs","repos_url":"https://api.github.com/users/gwwar/repos","events_url":"https://api.github.com/users/gwwar/events{/privacy}","received_events_url":"https://api.github.com/users/gwwar/received_events","type":"User","site_admin":false},"created_at":"2016-07-12T16:19:58Z","updated_at":"2016-07-12T16:19:58Z","body":"👍 Thanks for taking a look @rickybanister and @shaunandrews. @MicBosi we can move the PR forward after the design feedback is incorporated and the branch is rebased"}}
{"actor":{"display_login":"gwwar"}}