Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuring the timer interval in make watch #30

Closed
tueda opened this issue Jun 25, 2021 · 1 comment
Closed

Configuring the timer interval in make watch #30

tueda opened this issue Jun 25, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@tueda
Copy link
Owner

tueda commented Jun 25, 2021

Currently, make watch tries to typeset every second. The interval is hardcoded:

sleep 1; \

Though it is not a POSIX feature, the sleep command on Linux or macOS accepts a real number as the interval, e.g., 0.1. It may be useful if the user can specify the interval by a variable, let's say, sleep_interval.

@tueda tueda added the enhancement New feature or request label Jun 25, 2021
@tueda tueda closed this as completed in a671aa3 Aug 9, 2021
@tueda
Copy link
Owner Author

tueda commented Aug 9, 2021

Variable (or possibly environment variable) MAKEFILE4LATEX_WAIT_COMMAND has been added. Example:

MAKEFILE4LATEX_WAIT_COMMAND = sleep 0.1  # GNU coreutils
MAKEFILE4LATEX_WAIT_COMMAND = perl -MTime::HiRes=sleep -e sleep -e 0.1  # perl >= 5.7.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant