{"action":"closed","issue":{"url":"https://api.github.com/repos/Facepunch/garrysmod-issues/issues/8","labels_url":"https://api.github.com/repos/Facepunch/garrysmod-issues/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/Facepunch/garrysmod-issues/issues/8/comments","events_url":"https://api.github.com/repos/Facepunch/garrysmod-issues/issues/8/events","html_url":"https://github.com/Facepunch/garrysmod-issues/issues/8","id":15038787,"number":8,"title":"Include and lua_openscript_cl doesn't work properly.","user":{"login":"Donkie","id":2332094,"avatar_url":"https://avatars.githubusercontent.com/u/2332094?v=3","gravatar_id":"","url":"https://api.github.com/users/Donkie","html_url":"https://github.com/Donkie","followers_url":"https://api.github.com/users/Donkie/followers","following_url":"https://api.github.com/users/Donkie/following{/other_user}","gists_url":"https://api.github.com/users/Donkie/gists{/gist_id}","starred_url":"https://api.github.com/users/Donkie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Donkie/subscriptions","organizations_url":"https://api.github.com/users/Donkie/orgs","repos_url":"https://api.github.com/users/Donkie/repos","events_url":"https://api.github.com/users/Donkie/events{/privacy}","received_events_url":"https://api.github.com/users/Donkie/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Facepunch/garrysmod-issues/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2013-06-02T10:19:57Z","updated_at":"2015-05-09T09:16:28Z","closed_at":"2015-05-09T09:16:28Z","body":"I've been reporting this before but now dived somewhat deeper into it, it appears that when you try to run lua_openscript_cl OR include(file) on a clientside file, only a \"cached\" copy is loaded. It loads fine the first time after join, but if you edit the file and try to load it again, you get the same file as before. You have to changelevel in order to get the updated file again.\r\nI tried the same stuff serverside, and it works fine there.\r\n\r\nI have tried this in singleplayer and local multiplayer (listen server), and its the same error on both.\r\nThe only workaround I've found sofar is to use file.Read along with RunString, file.Read loads the updated file fine.\r\n\r\nIt works fine in the lua/ base folder, but not any subfolder (autorun/, autorun/client/, entities/)\r\n\r\nPosted from the thread: http://facepunch.com/showthread.php?t=1247316 where I got several agree ratings, as if I'm not the only one with this problem.\r\n\r\nI'm pretty sure this has something todo with symlinks. I keep a constant backup of my lua and gamemodes folder in dropbox, and then symlink it to garrysmod. This symlink method worked fine in gmod12, did you change the way folders are found in bootil?"}}