{"action":"created","issue":{"url":"https://api.github.com/repos/ericmdantas/aliv/issues/28","repository_url":"https://api.github.com/repos/ericmdantas/aliv","labels_url":"https://api.github.com/repos/ericmdantas/aliv/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/ericmdantas/aliv/issues/28/comments","events_url":"https://api.github.com/repos/ericmdantas/aliv/issues/28/events","html_url":"https://github.com/ericmdantas/aliv/issues/28","id":207534553,"number":28,"title":"Add \"timeout\" feature","user":{"login":"ClickSimply","id":14365337,"avatar_url":"https://avatars.githubusercontent.com/u/14365337?v=3","gravatar_id":"","url":"https://api.github.com/users/ClickSimply","html_url":"https://github.com/ClickSimply","followers_url":"https://api.github.com/users/ClickSimply/followers","following_url":"https://api.github.com/users/ClickSimply/following{/other_user}","gists_url":"https://api.github.com/users/ClickSimply/gists{/gist_id}","starred_url":"https://api.github.com/users/ClickSimply/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClickSimply/subscriptions","organizations_url":"https://api.github.com/users/ClickSimply/orgs","repos_url":"https://api.github.com/users/ClickSimply/repos","events_url":"https://api.github.com/users/ClickSimply/events{/privacy}","received_events_url":"https://api.github.com/users/ClickSimply/received_events","type":"User","site_admin":false},"labels":[{"id":539489576,"url":"https://api.github.com/repos/ericmdantas/aliv/labels/feature","name":"feature","color":"1d76db","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-02-14T14:43:29Z","updated_at":"2017-02-14T18:20:31Z","closed_at":"2017-02-14T18:20:31Z","body":"Been using this lib for a development server of a new project.  Excellent work, thank you for having something simple, straightforward and powerful.\r\n\r\nI have a suggested feature I'd like to see.  Instead of reloading instantly on the first file change, setup a timeout that allows additional files to be affected before the reload.  \r\n\r\nThis could be a simple \"timeout\" option added to the config, setting it to \"100\" would cause the server to wait 100 ms before sending a refresh after a file has changed.\r\n\r\nThis has come up as a problem quite a few times in my use case.  I've got webpack watching for changes on typescript files to compile to js, then node-sass listening for changes to the sass files and compiling to CSS.  Quite a few times I'll change CSS & TS files in the same save cycle, then when the server refreshes either the JS or CSS is a cycle behind (depending on which one compiled faster).  "},"comment":{"url":"https://api.github.com/repos/ericmdantas/aliv/issues/comments/279790596","html_url":"https://github.com/ericmdantas/aliv/issues/28#issuecomment-279790596","issue_url":"https://api.github.com/repos/ericmdantas/aliv/issues/28","id":279790596,"user":{"login":"ericmdantas","id":7040162,"avatar_url":"https://avatars.githubusercontent.com/u/7040162?v=3","gravatar_id":"","url":"https://api.github.com/users/ericmdantas","html_url":"https://github.com/ericmdantas","followers_url":"https://api.github.com/users/ericmdantas/followers","following_url":"https://api.github.com/users/ericmdantas/following{/other_user}","gists_url":"https://api.github.com/users/ericmdantas/gists{/gist_id}","starred_url":"https://api.github.com/users/ericmdantas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericmdantas/subscriptions","organizations_url":"https://api.github.com/users/ericmdantas/orgs","repos_url":"https://api.github.com/users/ericmdantas/repos","events_url":"https://api.github.com/users/ericmdantas/events{/privacy}","received_events_url":"https://api.github.com/users/ericmdantas/received_events","type":"User","site_admin":false},"created_at":"2017-02-14T18:20:31Z","updated_at":"2017-02-14T18:20:31Z","body":"Closed by 9f67775"}}
{"actor":{"display_login":"ericmdantas"}}