WatchTeX is a simple program that watches every .tex
files in a specified directory, and compiles them when they are modified.
watchtex [directory]
If no directory is specified, the current directory is used.
To stop the program, press Ctrl+C
.
To work, the program needs rubber installed and available in the PATH
environment variable.
To compile the program, you need to have:
- a C++20 compiler installed (default:
g++
) make
installedlibrt
installed
If you want to use another compiler, you can specify it with the CC
environment variable.
To compile the program for release, run:
make release
Otherwise, to compile the program for debug, run:
make debug
At the moment, the program only compiles on Linux x86-64 machines.
This program is licensed under the MIT License. See the LICENSE file for details.