{"action":"created","issue":{"url":"https://api.github.com/repos/woodyrew/metalsmith-json-to-files/issues/4","repository_url":"https://api.github.com/repos/woodyrew/metalsmith-json-to-files","labels_url":"https://api.github.com/repos/woodyrew/metalsmith-json-to-files/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/woodyrew/metalsmith-json-to-files/issues/4/comments","events_url":"https://api.github.com/repos/woodyrew/metalsmith-json-to-files/issues/4/events","html_url":"https://github.com/woodyrew/metalsmith-json-to-files/pull/4","id":179619880,"number":4,"title":"Do not cache json files because of metalsmith-watch","user":{"login":"katemihalikova","id":7225023,"avatar_url":"https://avatars.githubusercontent.com/u/7225023?v=3","gravatar_id":"","url":"https://api.github.com/users/katemihalikova","html_url":"https://github.com/katemihalikova","followers_url":"https://api.github.com/users/katemihalikova/followers","following_url":"https://api.github.com/users/katemihalikova/following{/other_user}","gists_url":"https://api.github.com/users/katemihalikova/gists{/gist_id}","starred_url":"https://api.github.com/users/katemihalikova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katemihalikova/subscriptions","organizations_url":"https://api.github.com/users/katemihalikova/orgs","repos_url":"https://api.github.com/users/katemihalikova/repos","events_url":"https://api.github.com/users/katemihalikova/events{/privacy}","received_events_url":"https://api.github.com/users/katemihalikova/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-27T21:32:13Z","updated_at":"2016-09-27T23:43:22Z","closed_at":"2016-09-27T23:39:35Z","pull_request":{"url":"https://api.github.com/repos/woodyrew/metalsmith-json-to-files/pulls/4","html_url":"https://github.com/woodyrew/metalsmith-json-to-files/pull/4","diff_url":"https://github.com/woodyrew/metalsmith-json-to-files/pull/4.diff","patch_url":"https://github.com/woodyrew/metalsmith-json-to-files/pull/4.patch"},"body":"When using `require`, JSON files are cached and are not reloaded when using [metalsmith-watch](https://github.com/FWeinb/metalsmith-watch). This PR changes `require` to `jsonfile.readFileSync` to fix that. "},"comment":{"url":"https://api.github.com/repos/woodyrew/metalsmith-json-to-files/issues/comments/250031224","html_url":"https://github.com/woodyrew/metalsmith-json-to-files/pull/4#issuecomment-250031224","issue_url":"https://api.github.com/repos/woodyrew/metalsmith-json-to-files/issues/4","id":250031224,"user":{"login":"woodyrew","id":1902064,"avatar_url":"https://avatars.githubusercontent.com/u/1902064?v=3","gravatar_id":"","url":"https://api.github.com/users/woodyrew","html_url":"https://github.com/woodyrew","followers_url":"https://api.github.com/users/woodyrew/followers","following_url":"https://api.github.com/users/woodyrew/following{/other_user}","gists_url":"https://api.github.com/users/woodyrew/gists{/gist_id}","starred_url":"https://api.github.com/users/woodyrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woodyrew/subscriptions","organizations_url":"https://api.github.com/users/woodyrew/orgs","repos_url":"https://api.github.com/users/woodyrew/repos","events_url":"https://api.github.com/users/woodyrew/events{/privacy}","received_events_url":"https://api.github.com/users/woodyrew/received_events","type":"User","site_admin":false},"created_at":"2016-09-27T23:43:21Z","updated_at":"2016-09-27T23:43:21Z","body":"@katemihalikova On a side note: metalsmith-watch creates a few issues. My recommendation is to not use it, [here's an alternative approach](https://github.com/metalsmith/metalsmith/issues/154#issuecomment-249463721)."}}
{"actor":{"display_login":"woodyrew"}}