package ojo
CLI tool to watch for change in the specified files
Install
Dune Dependency
Authors
Maintainers
Sources
v0.2.1.tar.gz
md5=ca10a8bf20f26306f78cf1331f12fca5
sha512=25f26a8f8a169eb28261de8a812d35cabd96a92e885b7324ce7331362e61960b6f5ca20f6ed1cedf8c80f1e313af8fcb114c31ed85aba4f1f31e03c1a94d6e71
Description
Ojo is a CLI toot that executes a given command each time a specified file or directory content is modified
Published: 18 Jan 2023
README
Ojo
Ojo is a simple CLI tool that allows you to execute a specific command each time the specified file or directory is being modified.
Usage
Let's say that you are sick of running the following pandoc command pandoc --toc -s test.md -o test.html
each time you do some minor modifications to your test.md
file.
Ojo automates the command execution by specifying a file that is being watched and the command to be run each time the watched file is modified.
Specify the file and the command as shown below and voilà!
ojo test/test.md -x "pandoc --toc -s test/test.md -o test/test.html"
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page