Latex-workshop: Constant auto-build due to a file-watcher on /dev/null

Created on 14 Mar 2019  路  8Comments  路  Source: James-Yu/LaTeX-Workshop

I suddenly began encountering a bug where my project was being constantly auto-built. It started happening on v6.2.1, but I downgraded to v6.2.0 and the problem still persisted.
The log output shows a file watcher was being added for /dev/null, and kept reacting due to a change there...
Sadly, I don't have a good way to repro this.

My project is an opensource book available here: https://github.com/hmemcpy/milewski-ctfp-pdf

I'm attaching the output, meanwhile I'll try to come up with the smallest repro.


LaTeX Workshop Output

[08:59:46] Initializing LaTeX Workshop.
[08:59:46] Creating LaTeX Workshop http and websocket server.
[08:59:46] LaTeX Workshop initialized.
[08:59:46] Found root file by magic comment: /Users/igalt/code/milewski-ctfp-pdf/src/ctfp-reader.tex
[08:59:46] Root file changed from: undefined. Find all dependencies.
[08:59:46] Instantiating a new file watcher for /Users/igalt/code/milewski-ctfp-pdf/src/ctfp-reader.tex
[08:59:46] Parsing /Users/igalt/code/milewski-ctfp-pdf/src/ctfp-reader.tex
[08:59:46] Adding /Users/igalt/code/milewski-ctfp-pdf/src/opt-reader-10in.tex to file watcher.
[08:59:46] Parsing /Users/igalt/code/milewski-ctfp-pdf/src/opt-reader-10in.tex
[08:59:46] Adding /Users/igalt/code/milewski-ctfp-pdf/src/preamble.tex to file watcher.
[08:59:46] Parsing /Users/igalt/code/milewski-ctfp-pdf/src/preamble.tex
[08:59:46] Adding /Users/igalt/code/milewski-ctfp-pdf/src/category.tex to file watcher.
[08:59:46] Parsing /Users/igalt/code/milewski-ctfp-pdf/src/category.tex
[08:59:46] Adding /Users/igalt/code/milewski-ctfp-pdf/src/ctfp.tex to file watcher.
[08:59:46] Parsing /Users/igalt/code/milewski-ctfp-pdf/src/ctfp.tex
[08:59:46] Adding /Users/igalt/code/milewski-ctfp-pdf/src/content/1.2/types-and-functions.tex to file watcher.
[08:59:46] Parsing /Users/igalt/code/milewski-ctfp-pdf/src/content/1.2/types-and-functions.tex
[08:59:46] Adding /Users/igalt/code/milewski-ctfp-pdf/src/postamble.tex to file watcher.
[08:59:46] Parsing /Users/igalt/code/milewski-ctfp-pdf/src/postamble.tex
[08:59:46] Parsing /Users/igalt/code/milewski-ctfp-pdf/src/ctfp-reader.fls to compute dependencies
[08:59:46] Parsing /Users/igalt/code/milewski-ctfp-pdf/src/ctfp-reader.tex
[08:59:46] Parsing /Users/igalt/code/milewski-ctfp-pdf/src/opt-reader-10in.tex
[08:59:46] Parsing /Users/igalt/code/milewski-ctfp-pdf/src/preamble.tex
[08:59:46] Parsing /Users/igalt/code/milewski-ctfp-pdf/src/category.tex
[08:59:46] Parsing /Users/igalt/code/milewski-ctfp-pdf/src/ctfp.tex
[08:59:46] Parsing /Users/igalt/code/milewski-ctfp-pdf/src/content/1.2/types-and-functions.tex
[08:59:46] Parsing /Users/igalt/code/milewski-ctfp-pdf/src/postamble.tex
[08:59:46] Adding /dev/null to file watcher.                                                                                 <---- suspicious entry here!
[08:59:46] Adding /Users/igalt/code/milewski-ctfp-pdf/src/ctfp-reader.w18 to file watcher.
[08:59:46] Adding /Users/igalt/code/milewski-ctfp-pdf/src/ctfp-reader.fls to file watcher.
[08:59:46] Parsing /Users/igalt/code/milewski-ctfp-pdf/src/category.tex
[08:59:46] Adding /Users/igalt/code/milewski-ctfp-pdf/src/ctfp-reader.aex to file watcher.
[08:59:46] Parsing /Users/igalt/code/milewski-ctfp-pdf/src/content/1.2/types-and-functions.tex
[08:59:46] Adding /Users/igalt/code/milewski-ctfp-pdf/src/content/1.2/images/img_1329.jpg to file watcher.
[08:59:47] Server created on 127.0.0.1:56180
[08:59:47] Snippet data loaded.
[08:59:47] LaTeX Workshop version: 6.2.0
[08:59:48] File watcher: responding to change in /dev/null
[08:59:48] /dev/null changed. Auto build project.
[08:59:48] Building root file: /Users/igalt/code/milewski-ctfp-pdf/src/ctfp-reader.tex
[08:59:48] Build root file /Users/igalt/code/milewski-ctfp-pdf/src/ctfp-reader.tex
[08:59:48] Recipe step 1: latexmk, -shell-escape,-norc,-synctex=1,-interaction=nonstopmode,-file-line-error,-pdfxe,-xelatex,/Users/igalt/code/milewski-ctfp-pdf/src/ctfp-reader
[08:59:48] LaTeX build process spawned. PID: 31495.
[08:59:49] Recipe of length 1 finished. PID: 31495.
[08:59:49] Successfully built /Users/igalt/code/milewski-ctfp-pdf/src/ctfp-reader.tex.
[08:59:49] No PDF viewer connected for /Users/igalt/code/milewski-ctfp-pdf/src/ctfp-reader.pdf
[08:59:49] Parsing /Users/igalt/code/milewski-ctfp-pdf/src/ctfp-reader.fls to compute dependencies
[08:59:49] Parsing /Users/igalt/code/milewski-ctfp-pdf/src/ctfp-reader.tex
[08:59:49] Parsing /Users/igalt/code/milewski-ctfp-pdf/src/opt-reader-10in.tex
[08:59:49] Parsing /Users/igalt/code/milewski-ctfp-pdf/src/preamble.tex
[08:59:49] Parsing /Users/igalt/code/milewski-ctfp-pdf/src/category.tex
[08:59:49] Parsing /Users/igalt/code/milewski-ctfp-pdf/src/ctfp.tex
[08:59:49] Parsing /Users/igalt/code/milewski-ctfp-pdf/src/content/1.2/types-and-functions.tex
[08:59:49] Parsing /Users/igalt/code/milewski-ctfp-pdf/src/postamble.tex
[08:59:49] Parsing /Users/igalt/code/milewski-ctfp-pdf/src/category.tex
[08:59:49] Parsing /Users/igalt/code/milewski-ctfp-pdf/src/content/1.2/types-and-functions.tex
[08:59:51] File watcher: responding to change in /dev/null
[08:59:51] /dev/null changed. Auto build project.
[08:59:51] Building root file: /Users/igalt/code/milewski-ctfp-pdf/src/ctfp-reader.tex
...

and on and on...

Desktop:

  • OS: macOS Mojave 10.14.3
  • VS Code version: 1.32.1
  • Extension version: 6.2.0 - 6.2.1

Most helpful comment

Here is the detailed explanation of the issue.

The .fls file

The .fls file is automatically generated by latex compilers when called with the -recorder option (which is was latexmk does) and lists all the INPUT and OUPUT files.

The /dev/null issue

Some packages try to include the /dev/nul file to determine whether the OS is Unix vs Windows. Hence the line INPUT /dev/null in the .fls file. Adding /dev/nul to the list of files not to be watched is therefore the proper fix for the problem.

All 8 comments

Try to add "/dev/null" to the configuration variable "latex-workshop.latex.watch.files.ignore".

I cannot compile the book because of missing fonts so I cannot try my advice.

I think this worked! I restarted VSCode, and no longer saw it being added to the watch! So thanks for that!
I have some links in the readme for the missing fonts, but let me try to make a smaller repro. Will update!

@jlelong I encountered the same problem. You should publish an update for the extension ASAP, as the file watcher got triggered every few seconds that it got impossible to use.

Not sure why this problem suddenly appeared though, it does seem that adding /dev/null is just a stopgap measure.

@irvinlim can you post the content of the rootfile.fls and the logs of the extension?

@jlelong Sure, here it is, with filenames and paths redacted with PATH_TO_TEX and FILENAME.tex respectively:


Logs:

[16:53:30] Initializing LaTeX Workshop.
[16:53:30] Creating LaTeX Workshop http and websocket server.
[16:53:30] LaTeX Workshop initialized.
[16:53:30] Found root file from active editor: /PATH_TO_TEX/FILENAME.tex
[16:53:31] Root file changed from: undefined. Find all dependencies.
[16:53:31] Instantiating a new file watcher for /PATH_TO_TEX/FILENAME.tex
[16:53:31] Parsing /PATH_TO_TEX/FILENAME.tex
[16:53:31] Parsing /PATH_TO_TEX/FILENAME.fls to compute dependencies
[16:53:31] Parsing /PATH_TO_TEX/FILENAME.tex
[16:53:31] Adding /dev/null to file watcher.
[16:53:31] Server created on 127.0.0.1:52905
[16:53:31] Snippet data loaded.
[16:53:31] LaTeX Workshop version: 6.2.1
[16:53:32] File watcher: responding to change in /dev/null
[16:53:32] /dev/null changed. Auto build project.
[16:53:32] Building root file: /PATH_TO_TEX/FILENAME.tex
[16:53:32] Build root file /PATH_TO_TEX/FILENAME.tex
[16:53:32] Recipe step 1: latexmk, --shell-escape,-synctex=1,-interaction=nonstopmode,-file-line-error,-pdf,/PATH_TO_TEX/FILENAME
[16:53:32] LaTeX build process spawned. PID: 52914.
[16:53:32] Recipe of length 1 finished. PID: 52914.
[16:53:32] Successfully built /PATH_TO_TEX/FILENAME.tex.
[16:53:32] No PDF viewer connected for /PATH_TO_TEX/FILENAME.pdf
[16:53:32] Parsing /PATH_TO_TEX/FILENAME.fls to compute dependencies
[16:53:32] Parsing /PATH_TO_TEX/FILENAME.tex
[16:53:40] File watcher: responding to change in /dev/null
[16:53:40] /dev/null changed. Auto build project.
[16:53:40] Building root file: /PATH_TO_TEX/FILENAME.tex
[16:53:40] Build root file /PATH_TO_TEX/FILENAME.tex
[16:53:40] Recipe step 1: latexmk, --shell-escape,-synctex=1,-interaction=nonstopmode,-file-line-error,-pdf,/PATH_TO_TEX/FILENAME
[16:53:40] LaTeX build process spawned. PID: 52932.
[16:53:40] Recipe of length 1 finished. PID: 52932.
[16:53:40] Successfully built /PATH_TO_TEX/FILENAME.tex.
[16:53:40] No PDF viewer connected for /PATH_TO_TEX/FILENAME.pdf
[16:53:40] Parsing /PATH_TO_TEX/FILENAME.fls to compute dependencies
[16:53:40] Parsing /PATH_TO_TEX/FILENAME.tex
[16:53:43] File watcher: responding to change in /dev/null
[16:53:43] /dev/null changed. Auto build project.
[16:53:43] Building root file: /PATH_TO_TEX/FILENAME.tex
[16:53:43] Build root file /PATH_TO_TEX/FILENAME.tex
[16:53:43] Recipe step 1: latexmk, --shell-escape,-synctex=1,-interaction=nonstopmode,-file-line-error,-pdf,/PATH_TO_TEX/FILENAME
[16:53:43] LaTeX build process spawned. PID: 52941.
[16:53:43] Recipe of length 1 finished. PID: 52941.
[16:53:43] Successfully built /PATH_TO_TEX/FILENAME.tex.
[16:53:43] No PDF viewer connected for /PATH_TO_TEX/FILENAME.pdf
[16:53:43] Parsing /PATH_TO_TEX/FILENAME.fls to compute dependencies
[16:53:43] Parsing /PATH_TO_TEX/FILENAME.tex
[16:53:49] File watcher: responding to change in /dev/null
[16:53:49] /dev/null changed. Auto build project.
[16:53:49] Building root file: /PATH_TO_TEX/FILENAME.tex
[16:53:49] Build root file /PATH_TO_TEX/FILENAME.tex
[16:53:49] Recipe step 1: latexmk, --shell-escape,-synctex=1,-interaction=nonstopmode,-file-line-error,-pdf,/PATH_TO_TEX/FILENAME
[16:53:49] LaTeX build process spawned. PID: 52951.
[16:53:49] Recipe of length 1 finished. PID: 52951.
[16:53:49] Successfully built /PATH_TO_TEX/FILENAME.tex.
[16:53:49] No PDF viewer connected for /PATH_TO_TEX/FILENAME.pdf
[16:53:49] Parsing /PATH_TO_TEX/FILENAME.fls to compute dependencies
[16:53:49] Parsing /PATH_TO_TEX/FILENAME.tex
[16:53:54] File watcher: responding to change in /dev/null
[16:53:54] /dev/null changed. Auto build project.
[16:53:54] Building root file: /PATH_TO_TEX/FILENAME.tex
[16:53:54] Build root file /PATH_TO_TEX/FILENAME.tex
[16:53:54] Recipe step 1: latexmk, --shell-escape,-synctex=1,-interaction=nonstopmode,-file-line-error,-pdf,/PATH_TO_TEX/FILENAME
[16:53:54] LaTeX build process spawned. PID: 52961.
[16:53:54] Recipe of length 1 finished. PID: 52961.
[16:53:54] Successfully built /PATH_TO_TEX/FILENAME.tex.
[16:53:54] No PDF viewer connected for /PATH_TO_TEX/FILENAME.pdf
[16:53:54] Parsing /PATH_TO_TEX/FILENAME.fls to compute dependencies
[16:53:54] Parsing /PATH_TO_TEX/FILENAME.tex


Root fls

PWD /PATH_TO_TEX INPUT /usr/local/texlive/2017/texmf.cnf INPUT /usr/local/texlive/2017/texmf-dist/web2c/texmf.cnf INPUT /usr/local/texlive/2017/texmf-var/web2c/pdftex/pdflatex.fmt INPUT /PATH_TO_TEX/FILENAME.tex OUTPUT FILENAME.log INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/base/article.cls INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/base/article.cls INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/base/size11.clo INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/base/size11.clo INPUT /usr/local/texlive/2017/texmf-dist/fonts/map/fontname/texfonts.map INPUT /usr/local/texlive/2017/texmf-dist/fonts/tfm/public/cm/cmr10.tfm INPUT /usr/local/texlive/2017/texmf-dist/tex/generic/babel/babel.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/generic/babel/babel.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/generic/babel-english/english.ldf INPUT /usr/local/texlive/2017/texmf-dist/tex/generic/babel-english/english.ldf INPUT /usr/local/texlive/2017/texmf-dist/tex/generic/babel/babel.def INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/base/inputenc.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/base/inputenc.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/base/utf8.def INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/base/utf8.def INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/base/t1enc.dfu INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/base/t1enc.dfu INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/base/ot1enc.dfu INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/base/ot1enc.dfu INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/base/omsenc.dfu INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/base/omsenc.dfu INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/hyperref/hyperref.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/hyperref/hyperref.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/graphics/keyval.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/graphics/keyval.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/generic/ifxetex/ifxetex.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/generic/ifxetex/ifxetex.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/oberdiek/auxhook.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/oberdiek/auxhook.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/oberdiek/kvoptions.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/oberdiek/kvoptions.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/hyperref/pd1enc.def INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/hyperref/pd1enc.def INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/latexconfig/hyperref.cfg INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/latexconfig/hyperref.cfg INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/url/url.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/url/url.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/hyperref/hpdftex.def INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/hyperref/hpdftex.def INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/geometry/geometry.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/geometry/geometry.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/stackengine/stackengine.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/stackengine/stackengine.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/etoolbox/etoolbox.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/etoolbox/etoolbox.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/generic/listofitems/listofitems.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/generic/listofitems/listofitems.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/generic/listofitems/listofitems.tex INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/tools/calc.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/tools/calc.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/microtype/microtype.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/microtype/microtype.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/microtype/microtype-pdftex.def INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/microtype/microtype-pdftex.def INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/microtype/microtype.cfg INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/microtype/microtype.cfg INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/microtype/microtype.cfg INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/psnfss/times.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/psnfss/times.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/amsmath/amsmath.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/amsmath/amsmath.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/amsmath/amstext.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/amsmath/amstext.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/amsmath/amsgen.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/amsmath/amsgen.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/amsmath/amsbsy.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/amsmath/amsbsy.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/amsmath/amsopn.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/amsmath/amsopn.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/amsfonts/amssymb.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/amsfonts/amssymb.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/amsfonts/amsfonts.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/amsfonts/amsfonts.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/comment/comment.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/comment/comment.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/enumitem/enumitem.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/enumitem/enumitem.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/float/float.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/float/float.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/graphics/graphicx.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/graphics/graphicx.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/graphics/graphics.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/graphics/graphics.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/graphics/trig.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/graphics/trig.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/graphics-cfg/graphics.cfg INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/graphics-cfg/graphics.cfg INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/graphics-def/pdftex.def INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/graphics-def/pdftex.def INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/minted/minted.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/minted/minted.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/fvextra/fvextra.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/fvextra/fvextra.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/base/ifthen.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/base/ifthen.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/upquote/upquote.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/upquote/upquote.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/base/textcomp.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/base/textcomp.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/base/ts1enc.def INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/base/ts1enc.def INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/base/ts1enc.dfu INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/base/ts1enc.dfu INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/lineno/lineno.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/lineno/lineno.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/psnfss/ot1pcr.fd INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/psnfss/ot1pcr.fd INPUT /usr/local/texlive/2017/texmf-dist/fonts/tfm/adobe/courier/pcrr7t.tfm INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/tools/shellesc.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/tools/shellesc.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/tools/shellesc.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/ifplatform/ifplatform.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/ifplatform/ifplatform.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/generic/oberdiek/catchfile.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/generic/oberdiek/catchfile.sty INPUT /dev/null INPUT FILENAME.w18 INPUT FILENAME.w18 INPUT /usr/local/texlive/2017/texmf-dist/tex/generic/xstring/xstring.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/generic/xstring/xstring.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/generic/xstring/xstring.tex INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/framed/framed.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/framed/framed.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/sectsty/sectsty.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/sectsty/sectsty.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/xcolor/xcolor.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/xcolor/xcolor.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/graphics-cfg/color.cfg INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/graphics-cfg/color.cfg INPUT FILENAME.aex INPUT FILENAME.aex INPUT FILENAME.aux INPUT FILENAME.aux OUTPUT FILENAME.aux INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/base/ts1cmr.fd INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/base/ts1cmr.fd INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/psnfss/ot1ptm.fd INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/psnfss/ot1ptm.fd INPUT /usr/local/texlive/2017/texmf-dist/fonts/tfm/adobe/times/ptmr7t.tfm INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/hyperref/nameref.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/hyperref/nameref.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/generic/oberdiek/gettitlestring.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/generic/oberdiek/gettitlestring.sty INPUT FILENAME.out INPUT FILENAME.out INPUT FILENAME.out INPUT FILENAME.out OUTPUT FILENAME.pdf INPUT ./FILENAME.out INPUT ./FILENAME.out OUTPUT FILENAME.out INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/microtype/mt-ptm.cfg INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/microtype/mt-ptm.cfg INPUT /usr/local/texlive/2017/texmf-dist/tex/context/base/mkii/supp-pdf.mkii INPUT /usr/local/texlive/2017/texmf-dist/tex/context/base/mkii/supp-pdf.mkii INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/oberdiek/grfext.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/oberdiek/grfext.sty INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg INPUT /usr/local/texlive/2017/texmf-dist/fonts/tfm/adobe/times/ptmr7t.tfm INPUT /usr/local/texlive/2017/texmf-dist/fonts/tfm/adobe/times/ptmr7t.tfm INPUT /usr/local/texlive/2017/texmf-dist/fonts/tfm/public/cm/cmr12.tfm INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/microtype/mt-cmr.cfg INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/microtype/mt-cmr.cfg INPUT /usr/local/texlive/2017/texmf-dist/fonts/tfm/public/cm/cmr8.tfm INPUT /usr/local/texlive/2017/texmf-dist/fonts/tfm/public/cm/cmr6.tfm INPUT /usr/local/texlive/2017/texmf-dist/fonts/tfm/public/cm/cmmi12.tfm INPUT /usr/local/texlive/2017/texmf-dist/fonts/tfm/public/cm/cmmi8.tfm INPUT /usr/local/texlive/2017/texmf-dist/fonts/tfm/public/cm/cmmi6.tfm INPUT /usr/local/texlive/2017/texmf-dist/fonts/tfm/public/cm/cmsy10.tfm INPUT /usr/local/texlive/2017/texmf-dist/fonts/tfm/public/cm/cmsy8.tfm INPUT /usr/local/texlive/2017/texmf-dist/fonts/tfm/public/cm/cmsy6.tfm INPUT /usr/local/texlive/2017/texmf-dist/fonts/tfm/public/cm/cmex10.tfm INPUT /usr/local/texlive/2017/texmf-dist/fonts/tfm/public/amsfonts/cmextra/cmex8.tfm INPUT /usr/local/texlive/2017/texmf-dist/fonts/tfm/public/amsfonts/cmextra/cmex7.tfm INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/amsfonts/umsa.fd INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/amsfonts/umsa.fd INPUT /usr/local/texlive/2017/texmf-dist/fonts/tfm/public/amsfonts/symbols/msam10.tfm INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/microtype/mt-msa.cfg INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/microtype/mt-msa.cfg INPUT /usr/local/texlive/2017/texmf-dist/fonts/tfm/public/amsfonts/symbols/msam10.tfm INPUT /usr/local/texlive/2017/texmf-dist/fonts/tfm/public/amsfonts/symbols/msam7.tfm INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/amsfonts/umsb.fd INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/amsfonts/umsb.fd INPUT /usr/local/texlive/2017/texmf-dist/fonts/tfm/public/amsfonts/symbols/msbm10.tfm INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/microtype/mt-msb.cfg INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/microtype/mt-msb.cfg INPUT /usr/local/texlive/2017/texmf-dist/fonts/tfm/public/amsfonts/symbols/msbm10.tfm INPUT /usr/local/texlive/2017/texmf-dist/fonts/tfm/public/amsfonts/symbols/msbm7.tfm INPUT /usr/local/texlive/2017/texmf-dist/fonts/tfm/adobe/times/ptmr7t.tfm INPUT /usr/local/texlive/2017/texmf-dist/fonts/tfm/adobe/times/ptmb7t.tfm INPUT /usr/local/texlive/2017/texmf-dist/fonts/tfm/adobe/times/ptmb7t.tfm INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/psnfss/ts1ptm.fd INPUT /usr/local/texlive/2017/texmf-dist/tex/latex/psnfss/ts1ptm.fd INPUT /usr/local/texlive/2017/texmf-dist/fonts/tfm/adobe/times/ptmr8c.tfm INPUT /usr/local/texlive/2017/texmf-dist/fonts/vf/adobe/times/ptmr7t.vf INPUT /usr/local/texlive/2017/texmf-dist/fonts/tfm/adobe/times/ptmr8r.tfm INPUT /usr/local/texlive/2017/texmf-var/fonts/map/pdftex/updmap/pdftex.map INPUT /usr/local/texlive/2017/texmf-dist/fonts/vf/adobe/times/ptmr7t.vf INPUT /usr/local/texlive/2017/texmf-dist/fonts/tfm/adobe/times/ptmr8r.tfm INPUT /usr/local/texlive/2017/texmf-dist/fonts/vf/adobe/times/ptmr7t.vf INPUT /usr/local/texlive/2017/texmf-dist/fonts/tfm/adobe/times/ptmr8r.tfm INPUT /usr/local/texlive/2017/texmf-dist/fonts/vf/adobe/times/ptmb7t.vf INPUT /usr/local/texlive/2017/texmf-dist/fonts/tfm/adobe/times/ptmb8r.tfm INPUT /usr/local/texlive/2017/texmf-dist/fonts/vf/adobe/times/ptmb7t.vf INPUT /usr/local/texlive/2017/texmf-dist/fonts/tfm/adobe/times/ptmb8r.tfm INPUT /usr/local/texlive/2017/texmf-dist/fonts/vf/adobe/times/ptmr8c.vf INPUT /usr/local/texlive/2017/texmf-dist/fonts/tfm/public/cm/cmmi10.tfm INPUT /usr/local/texlive/2017/texmf-dist/fonts/tfm/public/cm/cmsy10.tfm INPUT /usr/local/texlive/2017/texmf-dist/fonts/tfm/public/cm/cmex10.tfm INPUT /usr/local/texlive/2017/texmf-dist/fonts/tfm/public/amsfonts/symbols/msam10.tfm INPUT /usr/local/texlive/2017/texmf-dist/fonts/tfm/public/amsfonts/symbols/msbm10.tfm INPUT /usr/local/texlive/2017/texmf-dist/fonts/vf/adobe/courier/pcrr7t.vf INPUT /usr/local/texlive/2017/texmf-dist/fonts/tfm/adobe/courier/pcrr8r.tfm INPUT /usr/local/texlive/2017/texmf-dist/fonts/tfm/adobe/times/ptmri7t.tfm INPUT /usr/local/texlive/2017/texmf-dist/fonts/vf/adobe/times/ptmri7t.vf INPUT /usr/local/texlive/2017/texmf-dist/fonts/tfm/adobe/times/ptmri8r.tfm INPUT FILENAME.aux INPUT ./FILENAME.out INPUT ./FILENAME.out INPUT /usr/local/texlive/2017/texmf-dist/fonts/enc/dvips/base/8r.enc INPUT /usr/local/texlive/2017/texmf-dist/fonts/type1/urw/courier/ucrr8a.pfb INPUT /usr/local/texlive/2017/texmf-dist/fonts/type1/urw/times/utmb8a.pfb INPUT /usr/local/texlive/2017/texmf-dist/fonts/type1/urw/times/utmr8a.pfb INPUT /usr/local/texlive/2017/texmf-dist/fonts/type1/urw/times/utmri8a.pfb

I also tried removing the .fls file and restarting the extension so that it will perform a clean build, and the latexmk command still produces INPUT /dev/null in the .fls file. I'm not too familiar with how LaTeX files are compiled under the hood so I'm not sure if this is a problem that this extension can even deal with.

Nevertheless, excluding /dev/null from the list of watchers does fix the issue for me, so I will just be doing that for now.

Here is the detailed explanation of the issue.

The .fls file

The .fls file is automatically generated by latex compilers when called with the -recorder option (which is was latexmk does) and lists all the INPUT and OUPUT files.

The /dev/null issue

Some packages try to include the /dev/nul file to determine whether the OS is Unix vs Windows. Hence the line INPUT /dev/null in the .fls file. Adding /dev/nul to the list of files not to be watched is therefore the proper fix for the problem.

This is so great! Thank you so much for the explanation, swift resolution, and the fantastic extension!

Great work, thank you @jlelong!

Was this page helpful?
0 / 5 - 0 ratings