https://github.com/amdzy/watcher
https://github.com/amdzy/watcher
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/amdzy/watcher
- Owner: amdzy
- License: mit
- Created: 2021-09-09T16:27:31.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-09-20T19:14:55.000Z (over 4 years ago)
- Last Synced: 2025-01-22T02:28:27.432Z (over 1 year ago)
- Language: JavaScript
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Watcher
watcher is a tool that helps develop node.js based applications by automatically restarting the node application when file changes in the directory are detected.
watcher does not require any additional changes to your code or method of development.
## Getting started
```
git clone https://github.com/Soul-Remix/watcher.git
cd watcher
if on linux or mac run this command: chmod +x index.js
npm install
npm link
```
## How to use
```
watcher [filename]
```
or simply
```
watcher
```
And wathcer will automatically start your index.js file.
If there's no index.js file watcher will exit and show an error.