GMod crashes without any errors/whatever on autorefresh

As soon as I edit a file and save it gmod crashes to desktop without any errors/windows/warnings/whatever.
Any ideas how I can troubleshoot it?
The only reason I actually use singleplayer than a dev server is for autorefresh, even though friends cannot see progress and etc. It’d be a bummer to have to disable it.

Sounds like a possible infinite loop as a result of everything refreshing.

I don’t think so, right now it doesn’t crash but one time in 7 refreshes or so, it crashes.
Editing the same file over and over by the way.