{"action":"created","issue":{"url":"https://api.github.com/repos/edx/edx-platform/issues/11849","repository_url":"https://api.github.com/repos/edx/edx-platform","labels_url":"https://api.github.com/repos/edx/edx-platform/issues/11849/labels{/name}","comments_url":"https://api.github.com/repos/edx/edx-platform/issues/11849/comments","events_url":"https://api.github.com/repos/edx/edx-platform/issues/11849/events","html_url":"https://github.com/edx/edx-platform/pull/11849","id":141783253,"number":11849,"title":"Fix paver watch_assets","user":{"login":"omarkhan","id":793379,"avatar_url":"https://avatars.githubusercontent.com/u/793379?v=3","gravatar_id":"","url":"https://api.github.com/users/omarkhan","html_url":"https://github.com/omarkhan","followers_url":"https://api.github.com/users/omarkhan/followers","following_url":"https://api.github.com/users/omarkhan/following{/other_user}","gists_url":"https://api.github.com/users/omarkhan/gists{/gist_id}","starred_url":"https://api.github.com/users/omarkhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omarkhan/subscriptions","organizations_url":"https://api.github.com/users/omarkhan/orgs","repos_url":"https://api.github.com/users/omarkhan/repos","events_url":"https://api.github.com/users/omarkhan/events{/privacy}","received_events_url":"https://api.github.com/users/omarkhan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-18T06:01:11Z","updated_at":"2016-03-21T17:10:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/edx/edx-platform/pulls/11849","html_url":"https://github.com/edx/edx-platform/pull/11849","diff_url":"https://github.com/edx/edx-platform/pull/11849.diff","patch_url":"https://github.com/edx/edx-platform/pull/11849.patch"},"body":"**Background**: `paver watch_assets` does not work in devstack. This pull request fixes it with the following changes:\n\n- Update to latest version of watchdog.\n- inotify doesn't work on nfs share in devstack. Use polling instead.\n- Some editors (vim) [do not trigger modify events](https://github.com/gorakhargosh/watchdog#about-using-watchdog-with-editors-like-vim) in their default configuration. Rebuild assets on all filesystem changes, and debounce when changes happen too quickly.\n\n**JIRA tickets**: [OPS-169](https://openedx.atlassian.net/browse/OPS-169), [FEDX-109](https://openedx.atlassian.net/browse/FEDX-109)\n\n**Testing instructions**:\n\n- Run `paver watch_assets` in devstack\n- Modify a sass file\n\nPrevious behaviour: nothing happens\n\n```\nStarting asset watcher...\n```\n\nAfter fix:\n\n```\nStarting asset watcher...\n  CHANGED: cms/static/sass/_base.scss\n---> pavelib.assets.compile_sass\n    Finished compiling Sass:\n>> common/static/sass -> common/static/css in 0:00:00.023160s\n>> lms/static/sass -> lms/static/css in 0:00:19.277999s\n>> lms/static/themed_sass -> lms/static/css in 0:00:00.002187s\n>> lms/static/certificates/sass -> lms/static/certificates/css in 0:00:32.928536s\n>> cms/static/sass -> cms/static/css in 0:00:17.807262s\n```"},"comment":{"url":"https://api.github.com/repos/edx/edx-platform/issues/comments/199384463","html_url":"https://github.com/edx/edx-platform/pull/11849#issuecomment-199384463","issue_url":"https://api.github.com/repos/edx/edx-platform/issues/11849","id":199384463,"user":{"login":"Kelketek","id":1099483,"avatar_url":"https://avatars.githubusercontent.com/u/1099483?v=3","gravatar_id":"","url":"https://api.github.com/users/Kelketek","html_url":"https://github.com/Kelketek","followers_url":"https://api.github.com/users/Kelketek/followers","following_url":"https://api.github.com/users/Kelketek/following{/other_user}","gists_url":"https://api.github.com/users/Kelketek/gists{/gist_id}","starred_url":"https://api.github.com/users/Kelketek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kelketek/subscriptions","organizations_url":"https://api.github.com/users/Kelketek/orgs","repos_url":"https://api.github.com/users/Kelketek/repos","events_url":"https://api.github.com/users/Kelketek/events{/privacy}","received_events_url":"https://api.github.com/users/Kelketek/received_events","type":"User","site_admin":false},"created_at":"2016-03-21T17:10:52Z","updated_at":"2016-03-21T17:10:52Z","body":"jenkins run a11y"}}