Quickfix for company-flycheck bug and compile-on-save-mode is now on for latex-mode.