package ojo
CLI tool to watch for change in the specified files
Install
Dune Dependency
Authors
Maintainers
Sources
v0.1.1.tar.gz
md5=f6feeab4c4eec129efc20d61e967ec03
sha512=04c824499c369ff2673cc1c306d273dca7a1c9abdfe2d31bcddbbba1e7a68f7c173328f9c8820b14fe9d1c4a7ac1bf3ba0c0a7e0003775eaecd7a7735b33104b
Description
Ojo is a CLI toot that executes a given command each time a specified file or directory content is modified.
Published: 22 Dec 2022
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