{"action":"created","issue":{"url":"https://api.github.com/repos/ember-cli/ember-cli-htmlbars/issues/84","repository_url":"https://api.github.com/repos/ember-cli/ember-cli-htmlbars","labels_url":"https://api.github.com/repos/ember-cli/ember-cli-htmlbars/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/ember-cli/ember-cli-htmlbars/issues/84/comments","events_url":"https://api.github.com/repos/ember-cli/ember-cli-htmlbars/issues/84/events","html_url":"https://github.com/ember-cli/ember-cli-htmlbars/issues/84","id":168768275,"number":84,"title":"Modifying ast plugin should bust cache","user":{"login":"asakusuma","id":597574,"avatar_url":"https://avatars.githubusercontent.com/u/597574?v=3","gravatar_id":"","url":"https://api.github.com/users/asakusuma","html_url":"https://github.com/asakusuma","followers_url":"https://api.github.com/users/asakusuma/followers","following_url":"https://api.github.com/users/asakusuma/following{/other_user}","gists_url":"https://api.github.com/users/asakusuma/gists{/gist_id}","starred_url":"https://api.github.com/users/asakusuma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asakusuma/subscriptions","organizations_url":"https://api.github.com/users/asakusuma/orgs","repos_url":"https://api.github.com/users/asakusuma/repos","events_url":"https://api.github.com/users/asakusuma/events{/privacy}","received_events_url":"https://api.github.com/users/asakusuma/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-01T23:49:26Z","updated_at":"2016-08-02T01:04:43Z","closed_at":null,"body":"Given an addon that has an `htmlbars-ast-plugin`, cached htmlbars files should be busted when the plugin is modifyed. This does not happen. I have to delete the async cache.\r\n\r\n```JavaScript\r\n// Changing this file should bust the cache\r\nvar ReWriteStuff = require('re-write-stuff');\r\n\r\nmodule.exports = {\r\n  name: 'my-addon',\r\n  setupPreprocessorRegistry: function() {\r\n    registry.add('htmlbars-ast-plugin', {\r\n      name: 're-write-stuff',\r\n      plugin: ReWriteStuff\r\n    });\r\n  }\r\n};\r\n```"},"comment":{"url":"https://api.github.com/repos/ember-cli/ember-cli-htmlbars/issues/comments/236760323","html_url":"https://github.com/ember-cli/ember-cli-htmlbars/issues/84#issuecomment-236760323","issue_url":"https://api.github.com/repos/ember-cli/ember-cli-htmlbars/issues/84","id":236760323,"user":{"login":"stefanpenner","id":1377,"avatar_url":"https://avatars.githubusercontent.com/u/1377?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanpenner","html_url":"https://github.com/stefanpenner","followers_url":"https://api.github.com/users/stefanpenner/followers","following_url":"https://api.github.com/users/stefanpenner/following{/other_user}","gists_url":"https://api.github.com/users/stefanpenner/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanpenner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanpenner/subscriptions","organizations_url":"https://api.github.com/users/stefanpenner/orgs","repos_url":"https://api.github.com/users/stefanpenner/repos","events_url":"https://api.github.com/users/stefanpenner/events{/privacy}","received_events_url":"https://api.github.com/users/stefanpenner/received_events","type":"User","site_admin":false},"created_at":"2016-08-02T01:04:43Z","updated_at":"2016-08-02T01:04:43Z","body":"i think the API should change to:\r\n\r\n```js\r\n registry.add('htmlbars-ast-plugin', {\r\n      name: 're-write-stuff',\r\n      plugin: { name: 're-write-stuff', relativeTo: __dirname }\r\n    });\r\n```\r\n\r\n"}}
{"actor":{"display_login":"stefanpenner"}}