New module development testing

I’m playing with adding a new Module. I have successfully got it to load an item in the process list and call the function but the only way I have found of getting it to pick up the changes made is to restart the machine which is rather time consuming. Is there a simpler way? Tried stopping the web server and the php services but that did not help.