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 executes a specified command whenever changes are detected, ideal for automating repetitive tasks.

Topics

Resources

Stars

Watchers

Forks