Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fraxken/watchapp
Watch and restart your application (light alternative to nodemon for Node.js only)
https://github.com/fraxken/watchapp
Last synced: 23 days ago
JSON representation
Watch and restart your application (light alternative to nodemon for Node.js only)
- Host: GitHub
- URL: https://github.com/fraxken/watchapp
- Owner: fraxken
- License: mit
- Archived: true
- Created: 2019-08-27T08:44:23.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-10T08:07:31.000Z (over 3 years ago)
- Last Synced: 2024-08-04T06:01:06.602Z (4 months ago)
- Language: JavaScript
- Size: 79.1 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-crafted-nodejs - watch-my-app - Light alternative to nodemon (Packages / Tooling & dev)
README
# Watch my app
![ver](https://img.shields.io/badge/dynamic/json.svg?url=https://raw.githubusercontent.com/fraxken/watchapp/master/package.json&query=$.version&label=Version)
![MIT](https://img.shields.io/github/license/mashape/apistatus.svg)Watch and restart your Node.js application.
## Why
- Light and fast alternative to nodemon.
- Keep the number of dependencies low.
- Focus on Node.js support only.## Getting Started
This package is available in the Node Package Repository and can be easily installed with [npm](https://docs.npmjs.com/getting-started/what-is-npm) or [yarn](https://yarnpkg.com).```bash
$ npm install watch-my-app -g
# or
$ npx watch-my-app
```## Usage example
When installed globally the `watchapp` executable will be exposed in your terminal```bash
$ cd myApplication
$ watchapp
```By default watchapp will read your local **package.json** and search for the `main` field. It's possible to overwrite this behavior by using the `--entry` / `-e` option.
```bash
$ watchapp -e ./server.js
```For more options just run with `--help`
```bash
$ watchapp --help
```## License
MIT