{"action":"created","issue":{"url":"https://api.github.com/repos/Mermade/shins/issues/23","repository_url":"https://api.github.com/repos/Mermade/shins","labels_url":"https://api.github.com/repos/Mermade/shins/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/Mermade/shins/issues/23/comments","events_url":"https://api.github.com/repos/Mermade/shins/issues/23/events","html_url":"https://github.com/Mermade/shins/issues/23","id":296438232,"number":23,"title":"Serving via arapaho doesn't check for changes in includes","user":{"login":"brianreeve","id":8030260,"avatar_url":"https://avatars3.githubusercontent.com/u/8030260?v=4","gravatar_id":"","url":"https://api.github.com/users/brianreeve","html_url":"https://github.com/brianreeve","followers_url":"https://api.github.com/users/brianreeve/followers","following_url":"https://api.github.com/users/brianreeve/following{/other_user}","gists_url":"https://api.github.com/users/brianreeve/gists{/gist_id}","starred_url":"https://api.github.com/users/brianreeve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianreeve/subscriptions","organizations_url":"https://api.github.com/users/brianreeve/orgs","repos_url":"https://api.github.com/users/brianreeve/repos","events_url":"https://api.github.com/users/brianreeve/events{/privacy}","received_events_url":"https://api.github.com/users/brianreeve/received_events","type":"User","site_admin":false},"labels":[{"id":455593789,"url":"https://api.github.com/repos/Mermade/shins/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"MikeRalphson","id":21603,"avatar_url":"https://avatars0.githubusercontent.com/u/21603?v=4","gravatar_id":"","url":"https://api.github.com/users/MikeRalphson","html_url":"https://github.com/MikeRalphson","followers_url":"https://api.github.com/users/MikeRalphson/followers","following_url":"https://api.github.com/users/MikeRalphson/following{/other_user}","gists_url":"https://api.github.com/users/MikeRalphson/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeRalphson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeRalphson/subscriptions","organizations_url":"https://api.github.com/users/MikeRalphson/orgs","repos_url":"https://api.github.com/users/MikeRalphson/repos","events_url":"https://api.github.com/users/MikeRalphson/events{/privacy}","received_events_url":"https://api.github.com/users/MikeRalphson/received_events","type":"User","site_admin":false},"assignees":[{"login":"MikeRalphson","id":21603,"avatar_url":"https://avatars0.githubusercontent.com/u/21603?v=4","gravatar_id":"","url":"https://api.github.com/users/MikeRalphson","html_url":"https://github.com/MikeRalphson","followers_url":"https://api.github.com/users/MikeRalphson/followers","following_url":"https://api.github.com/users/MikeRalphson/following{/other_user}","gists_url":"https://api.github.com/users/MikeRalphson/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeRalphson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeRalphson/subscriptions","organizations_url":"https://api.github.com/users/MikeRalphson/orgs","repos_url":"https://api.github.com/users/MikeRalphson/repos","events_url":"https://api.github.com/users/MikeRalphson/events{/privacy}","received_events_url":"https://api.github.com/users/MikeRalphson/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-02-12T16:28:43Z","updated_at":"2018-02-12T19:53:53Z","closed_at":null,"author_association":"NONE","body":"While authoring documentation, it is convenient to serve using the included arapaho.js. However, arapaho doesn't pick up changes to files in the `source/includes` directory.\r\n\r\nThe workaround is to modify `source/index.html.md` or delete `index.html`, but this is not an ideal workflow.\r\n\r\nI see two possible solutions:\r\n\r\n1. Modify the behavior of `arapaho.js` such that it rebuilds the html on every request in a temp directory, then serves it from there. (Arguably, anything destructive to the `index.html` at the project's root should be done explicitly anyway.)\r\n2. If any one of `source/index.html.md` or files inside `source/includes/` has modified since `index.html` was modified, rebuild `index.html`.\r\n\r\nMy preference is the former, but I understand this may be a breaking change if folks are serving docs in production using `arapaho.js`. Maybe a good compromise would be to specify a switch or argument when invoking arapaho to specify you want to always rebuild and serve the temp index.html.\r\n\r\nThoughts on this?"},"comment":{"url":"https://api.github.com/repos/Mermade/shins/issues/comments/365042112","html_url":"https://github.com/Mermade/shins/issues/23#issuecomment-365042112","issue_url":"https://api.github.com/repos/Mermade/shins/issues/23","id":365042112,"user":{"login":"brianreeve","id":8030260,"avatar_url":"https://avatars3.githubusercontent.com/u/8030260?v=4","gravatar_id":"","url":"https://api.github.com/users/brianreeve","html_url":"https://github.com/brianreeve","followers_url":"https://api.github.com/users/brianreeve/followers","following_url":"https://api.github.com/users/brianreeve/following{/other_user}","gists_url":"https://api.github.com/users/brianreeve/gists{/gist_id}","starred_url":"https://api.github.com/users/brianreeve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianreeve/subscriptions","organizations_url":"https://api.github.com/users/brianreeve/orgs","repos_url":"https://api.github.com/users/brianreeve/repos","events_url":"https://api.github.com/users/brianreeve/events{/privacy}","received_events_url":"https://api.github.com/users/brianreeve/received_events","type":"User","site_admin":false},"created_at":"2018-02-12T19:53:53Z","updated_at":"2018-02-12T19:53:53Z","author_association":"NONE","body":"Great!\r\n\r\nI agree with your assessment and proposed approach."}}
{"actor":{"display_login":"brianreeve"}}