{"action":"opened","issue":{"url":"https://api.github.com/repos/wisaac407/blender-script-watcher/issues/1","labels_url":"https://api.github.com/repos/wisaac407/blender-script-watcher/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/wisaac407/blender-script-watcher/issues/1/comments","events_url":"https://api.github.com/repos/wisaac407/blender-script-watcher/issues/1/events","html_url":"https://github.com/wisaac407/blender-script-watcher/issues/1","id":107898941,"number":1,"title":"Reload script on .blend load?","user":{"login":"kilbee","id":2181891,"avatar_url":"https://avatars.githubusercontent.com/u/2181891?v=3","gravatar_id":"","url":"https://api.github.com/users/kilbee","html_url":"https://github.com/kilbee","followers_url":"https://api.github.com/users/kilbee/followers","following_url":"https://api.github.com/users/kilbee/following{/other_user}","gists_url":"https://api.github.com/users/kilbee/gists{/gist_id}","starred_url":"https://api.github.com/users/kilbee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kilbee/subscriptions","organizations_url":"https://api.github.com/users/kilbee/orgs","repos_url":"https://api.github.com/users/kilbee/repos","events_url":"https://api.github.com/users/kilbee/events{/privacy}","received_events_url":"https://api.github.com/users/kilbee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-23T11:20:55Z","updated_at":"2015-09-23T11:20:55Z","closed_at":null,"body":"I've been thinking if it would be good idea to reload script on loading new .blend file. \r\nCurrently you have to force refresh it manually on load (if you saved your .blend with script watcher on; you have to turn watching off and on again).\r\nI was about to do it but then I had second thoughts if this would be potentially dangerous/unwanted behaviour?\r\n\r\nAnyway it would be easy to implement via [bpy.app.handlers](http://www.blender.org/api/blender_python_api_2_60_6/bpy.app.handlers.html)"}}