{"action":"reopened","issue":{"url":"https://api.github.com/repos/sketch-pm/skpm/issues/18","repository_url":"https://api.github.com/repos/sketch-pm/skpm","labels_url":"https://api.github.com/repos/sketch-pm/skpm/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/sketch-pm/skpm/issues/18/comments","events_url":"https://api.github.com/repos/sketch-pm/skpm/issues/18/events","html_url":"https://github.com/sketch-pm/skpm/issues/18","id":215574058,"number":18,"title":"Add `--watch` command info to README","user":{"login":"AaronPresley","id":155617,"avatar_url":"https://avatars2.githubusercontent.com/u/155617?v=3","gravatar_id":"","url":"https://api.github.com/users/AaronPresley","html_url":"https://github.com/AaronPresley","followers_url":"https://api.github.com/users/AaronPresley/followers","following_url":"https://api.github.com/users/AaronPresley/following{/other_user}","gists_url":"https://api.github.com/users/AaronPresley/gists{/gist_id}","starred_url":"https://api.github.com/users/AaronPresley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AaronPresley/subscriptions","organizations_url":"https://api.github.com/users/AaronPresley/orgs","repos_url":"https://api.github.com/users/AaronPresley/repos","events_url":"https://api.github.com/users/AaronPresley/events{/privacy}","received_events_url":"https://api.github.com/users/AaronPresley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-03-20T22:25:25Z","updated_at":"2017-03-21T15:37:12Z","closed_at":null,"body":"Would be curious to hear your opinions on implementing a `watch` command. My initial thoughts for the workflow would be:\r\n\r\n1. Within an initialized project, run the `skpm watch` command\r\n2. `skpm` would then listen for all changes within the `src` (and `Resources`?) directory. Alternatively the user could set a `watch_glob` (or something similar) within the `package.json`?\r\n3. When a change is detected, it would essentially run the `skpm build` and `skpm link` commands.\r\n4. The changes would now be reflected within Sketch.\r\n\r\nMy main motivation for this request is to be able to make a change and have that change immediately reflected within Sketch. This seems like a much better workflow compared to running `skpm build` and `skpm link` manually after each change.\r\n\r\nDo you have any thoughts or opinions on the above? Does this functionality already exist and I'm just missing it?\r\n\r\nThanks."}}
{"actor":{"display_login":"AaronPresley"}}