Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kubgus/hotpot
A universal hot reload tool.
https://github.com/kubgus/hotpot
Last synced: 11 days ago
JSON representation
A universal hot reload tool.
- Host: GitHub
- URL: https://github.com/kubgus/hotpot
- Owner: kubgus
- License: mit
- Created: 2024-01-12T00:01:17.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-28T22:09:52.000Z (about 1 year ago)
- Last Synced: 2024-01-28T23:22:06.176Z (about 1 year ago)
- Language: C++
- Homepage:
- Size: 8 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HotPot
A universal hot reloading tool for any project.
## Installation
Download a release or simply copile it yourself, it's super easy:
```sh
g++ main.cpp -o hotpot -Ofast
```Move the executable into your `/bin` folder and you're done.
## Usage
```sh
hotpot -h
```You can view all the possible flags with the `help` flag.
### Flags
- `-r,--run,--runner` - Set command to run on refresh.
- Ex1: `... -r "g++ main.cpp; ./a.out" ...`
- Ex2: `... --runner "npm start" ...`
- Ex3: `... --run "python app.py" ...`
- `-e,--extension,--extensions` - Choose which file extensions are monitored.
- Ex: `... -e "cpp,py,js,h" ...`
- Default: `"c,cpp,h,hpp"`
- `-d,--dir,--directory` - Choose which directory is monitored.
- Ex1: `... -d "./src" ...`
- Ex2: `... -d "~/Dev/hotpot" ...`
- Default: `"./"`## Troubleshooting
Running intensive programs may result in poor detection.
Press `Ctrl + C` after saving all changes to break the stuck cycle.