Skip to content

Instantly share code, notes, and snippets.

@ohmypxl
Created August 3, 2022 16:16
Show Gist options
  • Save ohmypxl/7fc354f7492a98a92ef3dbac6ee60826 to your computer and use it in GitHub Desktop.
Save ohmypxl/7fc354f7492a98a92ef3dbac6ee60826 to your computer and use it in GitHub Desktop.
Sampctl Run-on-Save
{
"emeraldwalk.runonsave": {
"shell": "/bin/bash",
"autoClearConsole": true,
"commands": [
{
"match": "\\.pwn$",
"isAsync": true,
"cmd": "sampctl build"
},
{
"match": "\\.inc$",
"isAsync": true,
"cmd": "sampctl build"
},
{
"match": "\\.pawn$",
"isAsync": true,
"cmd": "sampctl build"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment