{"action":"created","issue":{"url":"https://api.github.com/repos/GovRight/loopback-console/issues/4","labels_url":"https://api.github.com/repos/GovRight/loopback-console/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/GovRight/loopback-console/issues/4/comments","events_url":"https://api.github.com/repos/GovRight/loopback-console/issues/4/events","html_url":"https://github.com/GovRight/loopback-console/issues/4","id":98352163,"number":4,"title":"Reload codebase from within console instance","user":{"login":"gausie","id":179758,"avatar_url":"https://avatars.githubusercontent.com/u/179758?v=3","gravatar_id":"","url":"https://api.github.com/users/gausie","html_url":"https://github.com/gausie","followers_url":"https://api.github.com/users/gausie/followers","following_url":"https://api.github.com/users/gausie/following{/other_user}","gists_url":"https://api.github.com/users/gausie/gists{/gist_id}","starred_url":"https://api.github.com/users/gausie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gausie/subscriptions","organizations_url":"https://api.github.com/users/gausie/orgs","repos_url":"https://api.github.com/users/gausie/repos","events_url":"https://api.github.com/users/gausie/events{/privacy}","received_events_url":"https://api.github.com/users/gausie/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-31T09:29:22Z","updated_at":"2015-10-16T11:01:17Z","closed_at":"2015-10-16T11:01:17Z","body":"Would be great to be able to keep all the variables that have been set but reload the code in place."},"comment":{"url":"https://api.github.com/repos/GovRight/loopback-console/issues/comments/148684045","html_url":"https://github.com/GovRight/loopback-console/issues/4#issuecomment-148684045","issue_url":"https://api.github.com/repos/GovRight/loopback-console/issues/4","id":148684045,"user":{"login":"doublemarked","id":239190,"avatar_url":"https://avatars.githubusercontent.com/u/239190?v=3","gravatar_id":"","url":"https://api.github.com/users/doublemarked","html_url":"https://github.com/doublemarked","followers_url":"https://api.github.com/users/doublemarked/followers","following_url":"https://api.github.com/users/doublemarked/following{/other_user}","gists_url":"https://api.github.com/users/doublemarked/gists{/gist_id}","starred_url":"https://api.github.com/users/doublemarked/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doublemarked/subscriptions","organizations_url":"https://api.github.com/users/doublemarked/orgs","repos_url":"https://api.github.com/users/doublemarked/repos","events_url":"https://api.github.com/users/doublemarked/events{/privacy}","received_events_url":"https://api.github.com/users/doublemarked/received_events","type":"User","site_admin":false},"created_at":"2015-10-16T11:01:17Z","updated_at":"2015-10-16T11:01:17Z","body":"Hey @gausie - spent some time thinking about this but have come to feel that such a reload (while maintaining console state) is probably unrealistic. It would be difficult to ensure that local variables that point to model instances (and other LB components) got reloaded with the new code. It's possible to do in a poor way but complex to do comprehensively. Sorry about this!\r\n"}}