{"action":"opened","number":9,"pull_request":{"url":"https://api.github.com/repos/synrc/active/pulls/9","id":56257983,"html_url":"https://github.com/synrc/active/pull/9","diff_url":"https://github.com/synrc/active/pull/9.diff","patch_url":"https://github.com/synrc/active/pull/9.patch","issue_url":"https://api.github.com/repos/synrc/active/issues/9","number":9,"state":"open","locked":false,"title":"avoids active gen_server crash when a file is modified, in windows","user":{"login":"vjorjo","id":9770277,"avatar_url":"https://avatars.githubusercontent.com/u/9770277?v=3","gravatar_id":"","url":"https://api.github.com/users/vjorjo","html_url":"https://github.com/vjorjo","followers_url":"https://api.github.com/users/vjorjo/followers","following_url":"https://api.github.com/users/vjorjo/following{/other_user}","gists_url":"https://api.github.com/users/vjorjo/gists{/gist_id}","starred_url":"https://api.github.com/users/vjorjo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vjorjo/subscriptions","organizations_url":"https://api.github.com/users/vjorjo/orgs","repos_url":"https://api.github.com/users/vjorjo/repos","events_url":"https://api.github.com/users/vjorjo/events{/privacy}","received_events_url":"https://api.github.com/users/vjorjo/received_events","type":"User","site_admin":false},"body":"In windows, when a file is modified (in apps folder only, e.g. index.erl), a chain of events are transmitted to active gen_server and somewhere before the modification of the beam file, active gen_server is crashed (and respawned with a different PID) and therefore doesn't accept any subsequent events and never reloads the modified *.beam file.\r\nBy adding this simple line we save the active gen_server crash.\r\nThis in conjunction with a minor change in fs project in inotifywait_win32.erl that corrects the name of MOVED_TO event flag fixes the windows sync code issue.","created_at":"2016-01-16T17:12:04Z","updated_at":"2016-01-16T17:12:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/synrc/active/pulls/9/commits","review_comments_url":"https://api.github.com/repos/synrc/active/pulls/9/comments","review_comment_url":"https://api.github.com/repos/synrc/active/pulls/comments{/number}","comments_url":"https://api.github.com/repos/synrc/active/issues/9/comments","statuses_url":"https://api.github.com/repos/synrc/active/statuses/a48ae17c59e9c239e6319b1e4f884bf3f3b137bd","head":{"label":"vjorjo:win_sync","ref":"win_sync","sha":"a48ae17c59e9c239e6319b1e4f884bf3f3b137bd","user":{"login":"vjorjo","id":9770277,"avatar_url":"https://avatars.githubusercontent.com/u/9770277?v=3","gravatar_id":"","url":"https://api.github.com/users/vjorjo","html_url":"https://github.com/vjorjo","followers_url":"https://api.github.com/users/vjorjo/followers","following_url":"https://api.github.com/users/vjorjo/following{/other_user}","gists_url":"https://api.github.com/users/vjorjo/gists{/gist_id}","starred_url":"https://api.github.com/users/vjorjo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vjorjo/subscriptions","organizations_url":"https://api.github.com/users/vjorjo/orgs","repos_url":"https://api.github.com/users/vjorjo/repos","events_url":"https://api.github.com/users/vjorjo/events{/privacy}","received_events_url":"https://api.github.com/users/vjorjo/received_events","type":"User","site_admin":false},"repo":{"id":49738853,"name":"active","full_name":"vjorjo/active","owner":{"login":"vjorjo","id":9770277,"avatar_url":"https://avatars.githubusercontent.com/u/9770277?v=3","gravatar_id":"","url":"https://api.github.com/users/vjorjo","html_url":"https://github.com/vjorjo","followers_url":"https://api.github.com/users/vjorjo/followers","following_url":"https://api.github.com/users/vjorjo/following{/other_user}","gists_url":"https://api.github.com/users/vjorjo/gists{/gist_id}","starred_url":"https://api.github.com/users/vjorjo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vjorjo/subscriptions","organizations_url":"https://api.github.com/users/vjorjo/orgs","repos_url":"https://api.github.com/users/vjorjo/repos","events_url":"https://api.github.com/users/vjorjo/events{/privacy}","received_events_url":"https://api.github.com/users/vjorjo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vjorjo/active","description":"Continuous Compilation","fork":true,"url":"https://api.github.com/repos/vjorjo/active","forks_url":"https://api.github.com/repos/vjorjo/active/forks","keys_url":"https://api.github.com/repos/vjorjo/active/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vjorjo/active/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vjorjo/active/teams","hooks_url":"https://api.github.com/repos/vjorjo/active/hooks","issue_events_url":"https://api.github.com/repos/vjorjo/active/issues/events{/number}","events_url":"https://api.github.com/repos/vjorjo/active/events","assignees_url":"https://api.github.com/repos/vjorjo/active/assignees{/user}","branches_url":"https://api.github.com/repos/vjorjo/active/branches{/branch}","tags_url":"https://api.github.com/repos/vjorjo/active/tags","blobs_url":"https://api.github.com/repos/vjorjo/active/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vjorjo/active/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vjorjo/active/git/refs{/sha}","trees_url":"https://api.github.com/repos/vjorjo/active/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vjorjo/active/statuses/{sha}","languages_url":"https://api.github.com/repos/vjorjo/active/languages","stargazers_url":"https://api.github.com/repos/vjorjo/active/stargazers","contributors_url":"https://api.github.com/repos/vjorjo/active/contributors","subscribers_url":"https://api.github.com/repos/vjorjo/active/subscribers","subscription_url":"https://api.github.com/repos/vjorjo/active/subscription","commits_url":"https://api.github.com/repos/vjorjo/active/commits{/sha}","git_commits_url":"https://api.github.com/repos/vjorjo/active/git/commits{/sha}","comments_url":"https://api.github.com/repos/vjorjo/active/comments{/number}","issue_comment_url":"https://api.github.com/repos/vjorjo/active/issues/comments{/number}","contents_url":"https://api.github.com/repos/vjorjo/active/contents/{+path}","compare_url":"https://api.github.com/repos/vjorjo/active/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vjorjo/active/merges","archive_url":"https://api.github.com/repos/vjorjo/active/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vjorjo/active/downloads","issues_url":"https://api.github.com/repos/vjorjo/active/issues{/number}","pulls_url":"https://api.github.com/repos/vjorjo/active/pulls{/number}","milestones_url":"https://api.github.com/repos/vjorjo/active/milestones{/number}","notifications_url":"https://api.github.com/repos/vjorjo/active/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vjorjo/active/labels{/name}","releases_url":"https://api.github.com/repos/vjorjo/active/releases{/id}","created_at":"2016-01-15T19:01:21Z","updated_at":"2016-01-15T19:01:22Z","pushed_at":"2016-01-16T16:33:16Z","git_url":"git://github.com/vjorjo/active.git","ssh_url":"git@github.com:vjorjo/active.git","clone_url":"https://github.com/vjorjo/active.git","svn_url":"https://github.com/vjorjo/active","homepage":"http://synrc.github.io/active/","size":55,"stargazers_count":0,"watchers_count":0,"language":"Erlang","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"synrc:master","ref":"master","sha":"5a146c601da8aac28e4ea3b936cda2484ea3f3bd","user":{"login":"synrc","id":661709,"avatar_url":"https://avatars.githubusercontent.com/u/661709?v=3","gravatar_id":"","url":"https://api.github.com/users/synrc","html_url":"https://github.com/synrc","followers_url":"https://api.github.com/users/synrc/followers","following_url":"https://api.github.com/users/synrc/following{/other_user}","gists_url":"https://api.github.com/users/synrc/gists{/gist_id}","starred_url":"https://api.github.com/users/synrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/synrc/subscriptions","organizations_url":"https://api.github.com/users/synrc/orgs","repos_url":"https://api.github.com/users/synrc/repos","events_url":"https://api.github.com/users/synrc/events{/privacy}","received_events_url":"https://api.github.com/users/synrc/received_events","type":"Organization","site_admin":false},"repo":{"id":19653044,"name":"active","full_name":"synrc/active","owner":{"login":"synrc","id":661709,"avatar_url":"https://avatars.githubusercontent.com/u/661709?v=3","gravatar_id":"","url":"https://api.github.com/users/synrc","html_url":"https://github.com/synrc","followers_url":"https://api.github.com/users/synrc/followers","following_url":"https://api.github.com/users/synrc/following{/other_user}","gists_url":"https://api.github.com/users/synrc/gists{/gist_id}","starred_url":"https://api.github.com/users/synrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/synrc/subscriptions","organizations_url":"https://api.github.com/users/synrc/orgs","repos_url":"https://api.github.com/users/synrc/repos","events_url":"https://api.github.com/users/synrc/events{/privacy}","received_events_url":"https://api.github.com/users/synrc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/synrc/active","description":"Continuous Compilation","fork":false,"url":"https://api.github.com/repos/synrc/active","forks_url":"https://api.github.com/repos/synrc/active/forks","keys_url":"https://api.github.com/repos/synrc/active/keys{/key_id}","collaborators_url":"https://api.github.com/repos/synrc/active/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/synrc/active/teams","hooks_url":"https://api.github.com/repos/synrc/active/hooks","issue_events_url":"https://api.github.com/repos/synrc/active/issues/events{/number}","events_url":"https://api.github.com/repos/synrc/active/events","assignees_url":"https://api.github.com/repos/synrc/active/assignees{/user}","branches_url":"https://api.github.com/repos/synrc/active/branches{/branch}","tags_url":"https://api.github.com/repos/synrc/active/tags","blobs_url":"https://api.github.com/repos/synrc/active/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/synrc/active/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/synrc/active/git/refs{/sha}","trees_url":"https://api.github.com/repos/synrc/active/git/trees{/sha}","statuses_url":"https://api.github.com/repos/synrc/active/statuses/{sha}","languages_url":"https://api.github.com/repos/synrc/active/languages","stargazers_url":"https://api.github.com/repos/synrc/active/stargazers","contributors_url":"https://api.github.com/repos/synrc/active/contributors","subscribers_url":"https://api.github.com/repos/synrc/active/subscribers","subscription_url":"https://api.github.com/repos/synrc/active/subscription","commits_url":"https://api.github.com/repos/synrc/active/commits{/sha}","git_commits_url":"https://api.github.com/repos/synrc/active/git/commits{/sha}","comments_url":"https://api.github.com/repos/synrc/active/comments{/number}","issue_comment_url":"https://api.github.com/repos/synrc/active/issues/comments{/number}","contents_url":"https://api.github.com/repos/synrc/active/contents/{+path}","compare_url":"https://api.github.com/repos/synrc/active/compare/{base}...{head}","merges_url":"https://api.github.com/repos/synrc/active/merges","archive_url":"https://api.github.com/repos/synrc/active/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/synrc/active/downloads","issues_url":"https://api.github.com/repos/synrc/active/issues{/number}","pulls_url":"https://api.github.com/repos/synrc/active/pulls{/number}","milestones_url":"https://api.github.com/repos/synrc/active/milestones{/number}","notifications_url":"https://api.github.com/repos/synrc/active/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/synrc/active/labels{/name}","releases_url":"https://api.github.com/repos/synrc/active/releases{/id}","created_at":"2014-05-10T22:03:38Z","updated_at":"2015-12-19T05:00:45Z","pushed_at":"2016-01-16T17:12:04Z","git_url":"git://github.com/synrc/active.git","ssh_url":"git@github.com:synrc/active.git","clone_url":"https://github.com/synrc/active.git","svn_url":"https://github.com/synrc/active","homepage":"http://synrc.github.io/active/","size":335,"stargazers_count":29,"watchers_count":29,"language":"Erlang","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":9,"mirror_url":null,"open_issues_count":3,"forks":9,"open_issues":3,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/synrc/active/pulls/9"},"html":{"href":"https://github.com/synrc/active/pull/9"},"issue":{"href":"https://api.github.com/repos/synrc/active/issues/9"},"comments":{"href":"https://api.github.com/repos/synrc/active/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/synrc/active/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/synrc/active/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/synrc/active/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/synrc/active/statuses/a48ae17c59e9c239e6319b1e4f884bf3f3b137bd"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":0,"changed_files":1}}