Add function to compile el file upon save