I've just had a good idea, probably someone came up with this already at some point but I thought it would be good to share this.
I'm using a good combo of plugins to make my plugin auto-compile and reload when I hit CTRL+S
Here's the combo in case anyone is interested:
https://forums.alliedmods.net/showthread.php?t=106320 -- Autoreload by Timiditas
http://atom.io -- Atom Text Editor
https://atom.io/packages/on-save -- on-save (plugin)
Once you download and install each of these, create a file named .on-save.json on your projects root directory and add the following config:
Code:
[
{
"files": "**/*.sp",
"command": "C:\\location\\to\\spcomp C:\\location\\to\\plugin.sp -o\"C:\\location\\to\\server\\plugins\""
}
]
The double bars are to escape inside of the json string.
Hope this helps someone!