I am running the following command for latexmk,
latexmk -e "$pdflatex=q/pdflatex -synctex=1 -interaction=nonstopmode/" %.tex -pvc -pdf
But I get the following error,
"I have not found a previewer that is already running. So I will start it for 'file.pdf'"
and the pdf opens in adobe reader. What is the setup required to view the pdf in texmaker's internal viewer and would it also automatically update?