8000 GitHub - Shiro-cha/jereo: A CLI tool that monitors a folder and executes a specified command whenever changes are detected, ideal for automating repetitive tasks.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

A CLI tool that monitors a folder and executes a specified command whenever changes are detected, ideal for automating repetitive tasks.

Notifications You must be signed in to change notification settings

Shiro-cha/jereo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

👁️ jereo

jereo is a lightweight CLI tool that monitors a specified folder and executes a user-defined command whenever changes are detected. It's ideal for automating tasks like rebuilding, syncing, or testing during development.

🚀 Features

  • Real-time folder monitoring
  • Custom command execution on file changes
  • Simple and efficient setup

🛠️ Installation

Ensure you have Node.js installed. Then, install jereo globally using npm:

npm install -g jereo

⚙️ Usage

Run jereo with the following command:

jereo <folder_path> <command>
  • <folder_path>: The path to the folder you want to monitor.
  • <command>: The command to execute when a change is detected.

Example

To watch the src directory and run a build script on changes:

jereo ./src "npm run build"

📁 Project Structure

  • index.js: Main executable script.
  • controllers/: Contains modules responsible for handling file system events.
  • customAPI/: Houses custom APIs used within the application.
  • package.json: Project metadata and dependencies.

About

A CLI tool that monitors a folder and e 44D2 xecutes a specified command whenever changes are detected, ideal for automating repetitive tasks.

Topics

Resources

Stars

Watchers

Forks

0