Team Spartan Cookies & Milk Forums
  • Issue Tracker
  • Donations
  • Search
  • Member List
  • Help

Register

Team Spartan Cookies & Milk Forums Garry's Mod Starfall v
« Previous 1 … 11 12 13 14 15 … 18 Next »
[Bug] Hot reload
Thread Closed 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
[Bug] Hot reload
24-10-2015, 06:49 PM,
#1
SuperPlayer Offline
TSCM Super Member
****
Posts: 234
Threads: 30
Joined: Oct 2014
[Bug] Hot reload
Today i noticed there is a bug in the hot reload function of the SF editor.
I am working on a client side lib for a screen. Whenever i save the changes in the lib the screen reloads which is correct. But the screen doesnt load the new version of the lib. I have to reload the screen manuel to make everything working fine. If i just change something on the screens script and save it the hot reload works fine. The problem just occurs if i changed something in the lib or both, the lib and the screen.
I just checked the Hot Reload box in the settings, not the one which only reloads when the main file is changed.


SuperPlayer
Find
24-10-2015, 08:15 PM,
#2
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: [Bug] Hot reload
Cannot reproduce this. If I save a non-mainfile it reloads fine on both server and client. What changes are you making that you don't see?
Find
24-10-2015, 08:42 PM, (This post was last modified: 24-10-2015, 08:43 PM by SuperPlayer.)
#3
SuperPlayer Offline
TSCM Super Member
****
Posts: 234
Threads: 30
Joined: Oct 2014
RE: [Bug] Hot reload
I am doing positions calculations and new functions.
For example i am adding this function in the lib

function Bla(x)
print(x)
end
I am not saving here. I am just going to my mainfile tab. There i am doing

Bla("Blabla")

Then i am saving. It will give me an error that function Bla does not exist.
As for the position calculations:
The mainfile passes positions into the lib and then the lib is modifying them and returning them.
Thats all.
Maybe that helps?
Find
24-10-2015, 09:36 PM,
#4
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: [Bug] Hot reload
Well, if you don't save the changes you've made to that library file it won't send them up. That's intentional. Save the library file when you edit it and want to use something you've added elsewhere.
Find
24-10-2015, 09:40 PM,
#5
SuperPlayer Offline
TSCM Super Member
****
Posts: 234
Threads: 30
Joined: Oct 2014
RE: [Bug] Hot reload
Ahh ok. My mistake, sorry. Thread can be closed then i guess.
Find
« Next Oldest | Next Newest »
Thread Closed 


  • View a Printable Version
Forum Jump:


Users browsing this thread:
Contact UsTeam Spartan Cookies & MilkReturn to TopLite (Archive) ModeMark all forums readRSS Syndication

Powered By MyBB, © 2002-2026 MyBB Group.