An open API service indexing awesome lists of open source software.

https://github.com/scriptex/express-watch-file

Use express to watch a file for changes and notify any front-ends listening.
https://github.com/scriptex/express-watch-file

expressjs file-change-notifications file-changes sse

Last synced: 5 months ago
JSON representation

Use express to watch a file for changes and notify any front-ends listening.

Awesome Lists containing this project

README

          

[![Codacy Badge](https://app.codacy.com/project/badge/Grade/34d3d75710534dc6a38c3584a1dcd068)](https://www.codacy.com/gh/scriptex/express-watch-file/dashboard?utm_source=github.com&utm_medium=referral&utm_content=scriptex/express-watch-file&utm_campaign=Badge_Grade)
[![Codebeat Badge](https://codebeat.co/badges/d765a4c8-2c0e-44f2-89c3-fa364fdc14e6)](https://codebeat.co/projects/github-com-scriptex-express-watch-file-master)
[![CodeFactor Badge](https://www.codefactor.io/repository/github/scriptex/express-watch-file/badge)](https://www.codefactor.io/repository/github/scriptex/express-watch-file)
[![DeepScan grade](https://deepscan.io/api/teams/3574/projects/5257/branches/40799/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=3574&pid=5257&bid=40799)
[![Analytics](https://ga-beacon-361907.ew.r.appspot.com/UA-83446952-1/github.com/scriptex/express-watch-file/README.md?pixel)](https://github.com/scriptex/express-watch-file/)

# express-watch-file

> Watch file for changes and send SSE with express.

## Visitor stats

![GitHub stars](https://img.shields.io/github/stars/scriptex/express-watch-file?style=social)
![GitHub forks](https://img.shields.io/github/forks/scriptex/express-watch-file?style=social)
![GitHub watchers](https://img.shields.io/github/watchers/scriptex/express-watch-file?style=social)
![GitHub followers](https://img.shields.io/github/followers/scriptex?style=social)

## Code stats

![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/scriptex/express-watch-file)
![GitHub repo size](https://img.shields.io/github/repo-size/scriptex/express-watch-file?style=plastic)
![GitHub language count](https://img.shields.io/github/languages/count/scriptex/express-watch-file?style=plastic)
![GitHub top language](https://img.shields.io/github/languages/top/scriptex/express-watch-file?style=plastic)
![GitHub last commit](https://img.shields.io/github/last-commit/scriptex/express-watch-file?style=plastic)

## Usage

```sh
yarn
yarn start
```

Open `index.html` in your browser and check the browser console.

## LICENSE

MIT

---


Connect with me:






 



 



 



 



 



 



 



 



 



 



 



---


Support and sponsor my work: