Sublime Forum

Kill build process and restart

#1

Hi,

I start grunt from my project file as follows:

"build_systems":
[
    {
        "name": "Grunt",
        "working_dir": "${project_path}/mypro",
        "shell_cmd": "grunt default-connect",
        "file_regex": "^([^:]*):([0-9]+):[0-9]+: (?:error|note|warning):"
    }
]	

If I restart the build, that starts a new process without killing the old one. I need to make sure that the previous process is killed before starting a new one. How can I do this?

0 Likes