How to stop fivem from reading stuff from cache

Its quite annoying. Im scripting my server but fivem keeps reading the resources from cache, so i change a line of code, restart the script, nothing happens. Delete the whole code, save the file, restart the script and the script still works like charm because its cached. How to stop this?

After making the changes before restarting the resource delete that resources cache file. Upon restart a new cache file will be created.

nope. Did that. I did delete all cache from the server files and also from my appdata. still does it.