I want to watch a directory of .tex files for changes and compile the Latex document when changed.
nodemon -x "pdflatex document" -w ./ -e .tex
more generally
nodemon -x "<command>" -w <dirtowatch> -e .<extension to watch>
nodemon -h
nodemon -x "pdflatex document" -w ./ -e .tex
nodemon -x "<command>" -w <dirtowatch> -e .<extension to watch>
nodemon -h
from django.test.utils import override_settings
from django.conf import settings
class TestSomething(TestCase):
@override_settings(DEBUG=True)
def test_debug(self):
assert settings.DEBUG