{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/Nanigans/gulp-twig-compile/pulls/1","id":33009362,"html_url":"https://github.com/Nanigans/gulp-twig-compile/pull/1","diff_url":"https://github.com/Nanigans/gulp-twig-compile/pull/1.diff","patch_url":"https://github.com/Nanigans/gulp-twig-compile/pull/1.patch","issue_url":"https://api.github.com/repos/Nanigans/gulp-twig-compile/issues/1","number":1,"state":"open","locked":false,"title":"Remove the template from Twig.Templates.registry before compile, to avoid the template id validation error","user":{"login":"ebaranov","id":681354,"avatar_url":"https://avatars.githubusercontent.com/u/681354?v=3","gravatar_id":"","url":"https://api.github.com/users/ebaranov","html_url":"https://github.com/ebaranov","followers_url":"https://api.github.com/users/ebaranov/followers","following_url":"https://api.github.com/users/ebaranov/following{/other_user}","gists_url":"https://api.github.com/users/ebaranov/gists{/gist_id}","starred_url":"https://api.github.com/users/ebaranov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebaranov/subscriptions","organizations_url":"https://api.github.com/users/ebaranov/orgs","repos_url":"https://api.github.com/users/ebaranov/repos","events_url":"https://api.github.com/users/ebaranov/events{/privacy}","received_events_url":"https://api.github.com/users/ebaranov/received_events","type":"User","site_admin":false},"body":"When we are using pre-compiled templates with any watcher plugin like gulp-watch, watchify or so, Twig will cause an template ID validation error. Thus, I think will be OK to remove existing template from registry, if it exists, before compile updated version.","created_at":"2015-04-10T00:33:41Z","updated_at":"2015-04-10T00:33:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Nanigans/gulp-twig-compile/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Nanigans/gulp-twig-compile/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Nanigans/gulp-twig-compile/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Nanigans/gulp-twig-compile/issues/1/comments","statuses_url":"https://api.github.com/repos/Nanigans/gulp-twig-compile/statuses/f9356d200a345db7ed3d31494e2295462cf06038","head":{"label":"ebaranov:master","ref":"master","sha":"f9356d200a345db7ed3d31494e2295462cf06038","user":{"login":"ebaranov","id":681354,"avatar_url":"https://avatars.githubusercontent.com/u/681354?v=3","gravatar_id":"","url":"https://api.github.com/users/ebaranov","html_url":"https://github.com/ebaranov","followers_url":"https://api.github.com/users/ebaranov/followers","following_url":"https://api.github.com/users/ebaranov/following{/other_user}","gists_url":"https://api.github.com/users/ebaranov/gists{/gist_id}","starred_url":"https://api.github.com/users/ebaranov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebaranov/subscriptions","organizations_url":"https://api.github.com/users/ebaranov/orgs","repos_url":"https://api.github.com/users/ebaranov/repos","events_url":"https://api.github.com/users/ebaranov/events{/privacy}","received_events_url":"https://api.github.com/users/ebaranov/received_events","type":"User","site_admin":false},"repo":{"id":33057169,"name":"gulp-twig-compile","full_name":"ebaranov/gulp-twig-compile","owner":{"login":"ebaranov","id":681354,"avatar_url":"https://avatars.githubusercontent.com/u/681354?v=3","gravatar_id":"","url":"https://api.github.com/users/ebaranov","html_url":"https://github.com/ebaranov","followers_url":"https://api.github.com/users/ebaranov/followers","following_url":"https://api.github.com/users/ebaranov/following{/other_user}","gists_url":"https://api.github.com/users/ebaranov/gists{/gist_id}","starred_url":"https://api.github.com/users/ebaranov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebaranov/subscriptions","organizations_url":"https://api.github.com/users/ebaranov/orgs","repos_url":"https://api.github.com/users/ebaranov/repos","events_url":"https://api.github.com/users/ebaranov/events{/privacy}","received_events_url":"https://api.github.com/users/ebaranov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ebaranov/gulp-twig-compile","description":"Compiles Twig Templates to Javascript using Twig.js","fork":true,"url":"https://api.github.com/repos/ebaranov/gulp-twig-compile","forks_url":"https://api.github.com/repos/ebaranov/gulp-twig-compile/forks","keys_url":"https://api.github.com/repos/ebaranov/gulp-twig-compile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ebaranov/gulp-twig-compile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ebaranov/gulp-twig-compile/teams","hooks_url":"https://api.github.com/repos/ebaranov/gulp-twig-compile/hooks","issue_events_url":"https://api.github.com/repos/ebaranov/gulp-twig-compile/issues/events{/number}","events_url":"https://api.github.com/repos/ebaranov/gulp-twig-compile/events","assignees_url":"https://api.github.com/repos/ebaranov/gulp-twig-compile/assignees{/user}","branches_url":"https://api.github.com/repos/ebaranov/gulp-twig-compile/branches{/branch}","tags_url":"https://api.github.com/repos/ebaranov/gulp-twig-compile/tags","blobs_url":"https://api.github.com/repos/ebaranov/gulp-twig-compile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ebaranov/gulp-twig-compile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ebaranov/gulp-twig-compile/git/refs{/sha}","trees_url":"https://api.github.com/repos/ebaranov/gulp-twig-compile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ebaranov/gulp-twig-compile/statuses/{sha}","languages_url":"https://api.github.com/repos/ebaranov/gulp-twig-compile/languages","stargazers_url":"https://api.github.com/repos/ebaranov/gulp-twig-compile/stargazers","contributors_url":"https://api.github.com/repos/ebaranov/gulp-twig-compile/contributors","subscribers_url":"https://api.github.com/repos/ebaranov/gulp-twig-compile/subscribers","subscription_url":"https://api.github.com/repos/ebaranov/gulp-twig-compile/subscription","commits_url":"https://api.github.com/repos/ebaranov/gulp-twig-compile/commits{/sha}","git_commits_url":"https://api.github.com/repos/ebaranov/gulp-twig-compile/git/commits{/sha}","comments_url":"https://api.github.com/repos/ebaranov/gulp-twig-compile/comments{/number}","issue_comment_url":"https://api.github.com/repos/ebaranov/gulp-twig-compile/issues/comments{/number}","contents_url":"https://api.github.com/repos/ebaranov/gulp-twig-compile/contents/{+path}","compare_url":"https://api.github.com/repos/ebaranov/gulp-twig-compile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ebaranov/gulp-twig-compile/merges","archive_url":"https://api.github.com/repos/ebaranov/gulp-twig-compile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ebaranov/gulp-twig-compile/downloads","issues_url":"https://api.github.com/repos/ebaranov/gulp-twig-compile/issues{/number}","pulls_url":"https://api.github.com/repos/ebaranov/gulp-twig-compile/pulls{/number}","milestones_url":"https://api.github.com/repos/ebaranov/gulp-twig-compile/milestones{/number}","notifications_url":"https://api.github.com/repos/ebaranov/gulp-twig-compile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ebaranov/gulp-twig-compile/labels{/name}","releases_url":"https://api.github.com/repos/ebaranov/gulp-twig-compile/releases{/id}","created_at":"2015-03-29T01:30:44Z","updated_at":"2015-03-29T01:46:05Z","pushed_at":"2015-03-29T01:46:04Z","git_url":"git://github.com/ebaranov/gulp-twig-compile.git","ssh_url":"git@github.com:ebaranov/gulp-twig-compile.git","clone_url":"https://github.com/ebaranov/gulp-twig-compile.git","svn_url":"https://github.com/ebaranov/gulp-twig-compile","homepage":null,"size":86,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"Nanigans:master","ref":"master","sha":"7d105f185a47e56cb7a6d9f508479c91d21c135d","user":{"login":"Nanigans","id":8750291,"avatar_url":"https://avatars.githubusercontent.com/u/8750291?v=3","gravatar_id":"","url":"https://api.github.com/users/Nanigans","html_url":"https://github.com/Nanigans","followers_url":"https://api.github.com/users/Nanigans/followers","following_url":"https://api.github.com/users/Nanigans/following{/other_user}","gists_url":"https://api.github.com/users/Nanigans/gists{/gist_id}","starred_url":"https://api.github.com/users/Nanigans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nanigans/subscriptions","organizations_url":"https://api.github.com/users/Nanigans/orgs","repos_url":"https://api.github.com/users/Nanigans/repos","events_url":"https://api.github.com/users/Nanigans/events{/privacy}","received_events_url":"https://api.github.com/users/Nanigans/received_events","type":"Organization","site_admin":false},"repo":{"id":24476770,"name":"gulp-twig-compile","full_name":"Nanigans/gulp-twig-compile","owner":{"login":"Nanigans","id":8750291,"avatar_url":"https://avatars.githubusercontent.com/u/8750291?v=3","gravatar_id":"","url":"https://api.github.com/users/Nanigans","html_url":"https://github.com/Nanigans","followers_url":"https://api.github.com/users/Nanigans/followers","following_url":"https://api.github.com/users/Nanigans/following{/other_user}","gists_url":"https://api.github.com/users/Nanigans/gists{/gist_id}","starred_url":"https://api.github.com/users/Nanigans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nanigans/subscriptions","organizations_url":"https://api.github.com/users/Nanigans/orgs","repos_url":"https://api.github.com/users/Nanigans/repos","events_url":"https://api.github.com/users/Nanigans/events{/privacy}","received_events_url":"https://api.github.com/users/Nanigans/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Nanigans/gulp-twig-compile","description":"Compiles Twig Templates to Javascript using Twig.js","fork":false,"url":"https://api.github.com/repos/Nanigans/gulp-twig-compile","forks_url":"https://api.github.com/repos/Nanigans/gulp-twig-compile/forks","keys_url":"https://api.github.com/repos/Nanigans/gulp-twig-compile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Nanigans/gulp-twig-compile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Nanigans/gulp-twig-compile/teams","hooks_url":"https://api.github.com/repos/Nanigans/gulp-twig-compile/hooks","issue_events_url":"https://api.github.com/repos/Nanigans/gulp-twig-compile/issues/events{/number}","events_url":"https://api.github.com/repos/Nanigans/gulp-twig-compile/events","assignees_url":"https://api.github.com/repos/Nanigans/gulp-twig-compile/assignees{/user}","branches_url":"https://api.github.com/repos/Nanigans/gulp-twig-compile/branches{/branch}","tags_url":"https://api.github.com/repos/Nanigans/gulp-twig-compile/tags","blobs_url":"https://api.github.com/repos/Nanigans/gulp-twig-compile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Nanigans/gulp-twig-compile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Nanigans/gulp-twig-compile/git/refs{/sha}","trees_url":"https://api.github.com/repos/Nanigans/gulp-twig-compile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Nanigans/gulp-twig-compile/statuses/{sha}","languages_url":"https://api.github.com/repos/Nanigans/gulp-twig-compile/languages","stargazers_url":"https://api.github.com/repos/Nanigans/gulp-twig-compile/stargazers","contributors_url":"https://api.github.com/repos/Nanigans/gulp-twig-compile/contributors","subscribers_url":"https://api.github.com/repos/Nanigans/gulp-twig-compile/subscribers","subscription_url":"https://api.github.com/repos/Nanigans/gulp-twig-compile/subscription","commits_url":"https://api.github.com/repos/Nanigans/gulp-twig-compile/commits{/sha}","git_commits_url":"https://api.github.com/repos/Nanigans/gulp-twig-compile/git/commits{/sha}","comments_url":"https://api.github.com/repos/Nanigans/gulp-twig-compile/comments{/number}","issue_comment_url":"https://api.github.com/repos/Nanigans/gulp-twig-compile/issues/comments{/number}","contents_url":"https://api.github.com/repos/Nanigans/gulp-twig-compile/contents/{+path}","compare_url":"https://api.github.com/repos/Nanigans/gulp-twig-compile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Nanigans/gulp-twig-compile/merges","archive_url":"https://api.github.com/repos/Nanigans/gulp-twig-compile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Nanigans/gulp-twig-compile/downloads","issues_url":"https://api.github.com/repos/Nanigans/gulp-twig-compile/issues{/number}","pulls_url":"https://api.github.com/repos/Nanigans/gulp-twig-compile/pulls{/number}","milestones_url":"https://api.github.com/repos/Nanigans/gulp-twig-compile/milestones{/number}","notifications_url":"https://api.github.com/repos/Nanigans/gulp-twig-compile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Nanigans/gulp-twig-compile/labels{/name}","releases_url":"https://api.github.com/repos/Nanigans/gulp-twig-compile/releases{/id}","created_at":"2014-09-25T21:57:55Z","updated_at":"2015-03-28T23:11:30Z","pushed_at":"2014-09-26T00:41:19Z","git_url":"git://github.com/Nanigans/gulp-twig-compile.git","ssh_url":"git@github.com:Nanigans/gulp-twig-compile.git","clone_url":"https://github.com/Nanigans/gulp-twig-compile.git","svn_url":"https://github.com/Nanigans/gulp-twig-compile","homepage":null,"size":148,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Nanigans/gulp-twig-compile/pulls/1"},"html":{"href":"https://github.com/Nanigans/gulp-twig-compile/pull/1"},"issue":{"href":"https://api.github.com/repos/Nanigans/gulp-twig-compile/issues/1"},"comments":{"href":"https://api.github.com/repos/Nanigans/gulp-twig-compile/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Nanigans/gulp-twig-compile/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Nanigans/gulp-twig-compile/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Nanigans/gulp-twig-compile/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Nanigans/gulp-twig-compile/statuses/f9356d200a345db7ed3d31494e2295462cf06038"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":11,"deletions":2,"changed_files":1}}