Skip to content

Directory Watcher and Process Reloader, Can work with any platform. Suitable for Multi Threaded processes, like go MUX Server, i.e: Fiber, Gin, Echo etc.

License

Notifications You must be signed in to change notification settings

clubcleaver/glive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GLIVE

Directory / File Watcher & Process Reloader

version 1.04

Features:

  • You can use with any platform like Nodejs, Golang, Python etc.
  • Watch any directory.
  • Run Multi Threaded processes like Fiber / Gin / Other ...
  • Skip Directories or Files.
  • Super fast, as built in Golang.
  • Easy installation.
  • No dependencies.

Screenshots

Run Glive

Screenshot

File Change

Screenshot

Manual Restart

Screenshot

Exit

Screenshot

Example Config File:

Create a glive.json file in working directory like below.

{
  "watch": "./",
  "command": "go run ./cmd/app1/main.go",
  "skip": ["./logs", ".git", "./offProject/notes.md", "glive.json", "./docs"]
}

Usage:

glive to Run,rs "while running" For Manually Restart,Ctrl+c To Stop

Installation

Method A:

Using the Debian Package Manager / apt / apt-get.

1. Downlaod the "Debian Pkg":

wget curl https://github.com/clubcleaver/glive/raw/refs/heads/main/glive.deb
sudo apt install ./glive.deb

2. Use GLIVE

glive

Mehod B:

Binary Install

1. Downlaod the "Binary File":

curl -O https://github.com/clubcleaver/glive/raw/refs/heads/main/glive
OR
wget curl https://github.com/clubcleaver/glive/raw/refs/heads/main/glive

2. Change file permissions

chmod 777 ./glive

3. Add the file location to your $PATH.

export $PATH=$PATH:<path-to-glive-file>

4. Use GLIVE

glive

About

Directory Watcher and Process Reloader, Can work with any platform. Suitable for Multi Threaded processes, like go MUX Server, i.e: Fiber, Gin, Echo etc.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages