{"action":"created","comment":{"url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/comments/65597318","id":65597318,"diff_hunk":"@@ -35,3 +47,36 @@ export function connectionRestored( noticeText ) {\n \t\tdispatch( { type: CONNECTION_RESTORED } );\n \t};\n }\n+\n+export function cssBuildFailed( noticeText ) {\n+\treturn ( dispatch ) => {\n+\t\tdispatch( removeNotice( 'cssBuilding' ) );\n+\t\tdispatch( errorNotice(\n+\t\t\tnoticeText\n+\t\t\t, {","path":"client/state/application/actions.js","position":33,"original_position":33,"commit_id":"78130f5bfa4ae9ebe67cc4331f2f14ade7b5866c","original_commit_id":"78130f5bfa4ae9ebe67cc4331f2f14ade7b5866c","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},"body":"No problem. I had modeled the last two functions from the existing first two so I've fixed all 4 of them.","created_at":"2016-06-02T18:52:33Z","updated_at":"2016-06-02T18:52:33Z","html_url":"https://github.com/Automattic/wp-calypso/pull/5510#discussion_r65597318","pull_request_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/5510","_links":{"self":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/comments/65597318"},"html":{"href":"https://github.com/Automattic/wp-calypso/pull/5510#discussion_r65597318"},"pull_request":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/5510"}}},"pull_request":{"url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/5510","id":70991348,"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","issue_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/5510","number":5510,"state":"open","locked":false,"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},"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","created_at":"2016-05-22T23:03:32Z","updated_at":"2016-06-02T18:52:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b1840b868e3e6cf8fb2ba9e9f840069e8381870d","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},"milestone":null,"commits_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/5510/commits","review_comments_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/5510/comments","review_comment_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/5510/comments","statuses_url":"https://api.github.com/repos/Automattic/wp-calypso/statuses/78130f5bfa4ae9ebe67cc4331f2f14ade7b5866c","head":{"label":"Automattic:add/5509-css-hot-reload","ref":"add/5509-css-hot-reload","sha":"78130f5bfa4ae9ebe67cc4331f2f14ade7b5866c","user":{"login":"Automattic","id":887802,"avatar_url":"https://avatars.githubusercontent.com/u/887802?v=3","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"repo":{"id":45936895,"name":"wp-calypso","full_name":"Automattic/wp-calypso","owner":{"login":"Automattic","id":887802,"avatar_url":"https://avatars.githubusercontent.com/u/887802?v=3","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Automattic/wp-calypso","description":"The new JavaScript- and API-powered WordPress.com","fork":false,"url":"https://api.github.com/repos/Automattic/wp-calypso","forks_url":"https://api.github.com/repos/Automattic/wp-calypso/forks","keys_url":"https://api.github.com/repos/Automattic/wp-calypso/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Automattic/wp-calypso/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Automattic/wp-calypso/teams","hooks_url":"https://api.github.com/repos/Automattic/wp-calypso/hooks","issue_events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/events{/number}","events_url":"https://api.github.com/repos/Automattic/wp-calypso/events","assignees_url":"https://api.github.com/repos/Automattic/wp-calypso/assignees{/user}","branches_url":"https://api.github.com/repos/Automattic/wp-calypso/branches{/branch}","tags_url":"https://api.github.com/repos/Automattic/wp-calypso/tags","blobs_url":"https://api.github.com/repos/Automattic/wp-calypso/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Automattic/wp-calypso/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Automattic/wp-calypso/git/refs{/sha}","trees_url":"https://api.github.com/repos/Automattic/wp-calypso/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Automattic/wp-calypso/statuses/{sha}","languages_url":"https://api.github.com/repos/Automattic/wp-calypso/languages","stargazers_url":"https://api.github.com/repos/Automattic/wp-calypso/stargazers","contributors_url":"https://api.github.com/repos/Automattic/wp-calypso/contributors","subscribers_url":"https://api.github.com/repos/Automattic/wp-calypso/subscribers","subscription_url":"https://api.github.com/repos/Automattic/wp-calypso/subscription","commits_url":"https://api.github.com/repos/Automattic/wp-calypso/commits{/sha}","git_commits_url":"https://api.github.com/repos/Automattic/wp-calypso/git/commits{/sha}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/comments{/number}","issue_comment_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/comments{/number}","contents_url":"https://api.github.com/repos/Automattic/wp-calypso/contents/{+path}","compare_url":"https://api.github.com/repos/Automattic/wp-calypso/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Automattic/wp-calypso/merges","archive_url":"https://api.github.com/repos/Automattic/wp-calypso/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Automattic/wp-calypso/downloads","issues_url":"https://api.github.com/repos/Automattic/wp-calypso/issues{/number}","pulls_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls{/number}","milestones_url":"https://api.github.com/repos/Automattic/wp-calypso/milestones{/number}","notifications_url":"https://api.github.com/repos/Automattic/wp-calypso/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/labels{/name}","releases_url":"https://api.github.com/repos/Automattic/wp-calypso/releases{/id}","deployments_url":"https://api.github.com/repos/Automattic/wp-calypso/deployments","created_at":"2015-11-10T20:00:16Z","updated_at":"2016-06-02T17:47:44Z","pushed_at":"2016-06-02T18:48:56Z","git_url":"git://github.com/Automattic/wp-calypso.git","ssh_url":"git@github.com:Automattic/wp-calypso.git","clone_url":"https://github.com/Automattic/wp-calypso.git","svn_url":"https://github.com/Automattic/wp-calypso","homepage":"https://developer.wordpress.com/calypso/","size":77651,"stargazers_count":7385,"watchers_count":7385,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":897,"mirror_url":null,"open_issues_count":1268,"forks":897,"open_issues":1268,"watchers":7385,"default_branch":"master"}},"base":{"label":"Automattic:master","ref":"master","sha":"673b3af2ac030b2509d53f9dbe9a8bcd3f1e42f6","user":{"login":"Automattic","id":887802,"avatar_url":"https://avatars.githubusercontent.com/u/887802?v=3","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"repo":{"id":45936895,"name":"wp-calypso","full_name":"Automattic/wp-calypso","owner":{"login":"Automattic","id":887802,"avatar_url":"https://avatars.githubusercontent.com/u/887802?v=3","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Automattic/wp-calypso","description":"The new JavaScript- and API-powered WordPress.com","fork":false,"url":"https://api.github.com/repos/Automattic/wp-calypso","forks_url":"https://api.github.com/repos/Automattic/wp-calypso/forks","keys_url":"https://api.github.com/repos/Automattic/wp-calypso/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Automattic/wp-calypso/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Automattic/wp-calypso/teams","hooks_url":"https://api.github.com/repos/Automattic/wp-calypso/hooks","issue_events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/events{/number}","events_url":"https://api.github.com/repos/Automattic/wp-calypso/events","assignees_url":"https://api.github.com/repos/Automattic/wp-calypso/assignees{/user}","branches_url":"https://api.github.com/repos/Automattic/wp-calypso/branches{/branch}","tags_url":"https://api.github.com/repos/Automattic/wp-calypso/tags","blobs_url":"https://api.github.com/repos/Automattic/wp-calypso/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Automattic/wp-calypso/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Automattic/wp-calypso/git/refs{/sha}","trees_url":"https://api.github.com/repos/Automattic/wp-calypso/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Automattic/wp-calypso/statuses/{sha}","languages_url":"https://api.github.com/repos/Automattic/wp-calypso/languages","stargazers_url":"https://api.github.com/repos/Automattic/wp-calypso/stargazers","contributors_url":"https://api.github.com/repos/Automattic/wp-calypso/contributors","subscribers_url":"https://api.github.com/repos/Automattic/wp-calypso/subscribers","subscription_url":"https://api.github.com/repos/Automattic/wp-calypso/subscription","commits_url":"https://api.github.com/repos/Automattic/wp-calypso/commits{/sha}","git_commits_url":"https://api.github.com/repos/Automattic/wp-calypso/git/commits{/sha}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/comments{/number}","issue_comment_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/comments{/number}","contents_url":"https://api.github.com/repos/Automattic/wp-calypso/contents/{+path}","compare_url":"https://api.github.com/repos/Automattic/wp-calypso/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Automattic/wp-calypso/merges","archive_url":"https://api.github.com/repos/Automattic/wp-calypso/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Automattic/wp-calypso/downloads","issues_url":"https://api.github.com/repos/Automattic/wp-calypso/issues{/number}","pulls_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls{/number}","milestones_url":"https://api.github.com/repos/Automattic/wp-calypso/milestones{/number}","notifications_url":"https://api.github.com/repos/Automattic/wp-calypso/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/labels{/name}","releases_url":"https://api.github.com/repos/Automattic/wp-calypso/releases{/id}","deployments_url":"https://api.github.com/repos/Automattic/wp-calypso/deployments","created_at":"2015-11-10T20:00:16Z","updated_at":"2016-06-02T17:47:44Z","pushed_at":"2016-06-02T18:48:56Z","git_url":"git://github.com/Automattic/wp-calypso.git","ssh_url":"git@github.com:Automattic/wp-calypso.git","clone_url":"https://github.com/Automattic/wp-calypso.git","svn_url":"https://github.com/Automattic/wp-calypso","homepage":"https://developer.wordpress.com/calypso/","size":77651,"stargazers_count":7385,"watchers_count":7385,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":897,"mirror_url":null,"open_issues_count":1268,"forks":897,"open_issues":1268,"watchers":7385,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/5510"},"html":{"href":"https://github.com/Automattic/wp-calypso/pull/5510"},"issue":{"href":"https://api.github.com/repos/Automattic/wp-calypso/issues/5510"},"comments":{"href":"https://api.github.com/repos/Automattic/wp-calypso/issues/5510/comments"},"review_comments":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/5510/comments"},"review_comment":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/5510/commits"},"statuses":{"href":"https://api.github.com/repos/Automattic/wp-calypso/statuses/78130f5bfa4ae9ebe67cc4331f2f14ade7b5866c"}}}}
{"actor":{"display_login":"MicBosi"}}