<div dir="ltr"><div>Hi.</div><div><br></div><div>Would it be possible to hook a command prior to save a file?</div><div><br></div><div>My use case: I want to "compile" or "parse" my source file to check syntax errors prior to save a python file since once it's saved, I have a web server that reloads itsel when the sources change but crashes if it finds a syntax error.<br></div><div><br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span style="font-family:arial,helvetica,sans-serif"><i>Greetings,</i></span><i><span style="font-family:arial,helvetica,sans-serif"><br><br>                                                        Abel.</span></i><i><span style="font-family:arial,helvetica,sans-serif"></span></i></div></div></div></div></div></div>