fyrer-0.2.0 is not a library.
fyrer
lightweight tool to run multiple dev servers concurrently
Features
- Run multiple development servers concurrently
- Define installer commands that run before starting each server
- Set a working directory per server
- Assign environment variables per server
- YAML-based configuration file
- Prefixed log output for readability
- Cross-platform support (Linux, macOS, Windows)
- Optional hot reload
- Configurable file and directory ignore rules for hot reload
Installation
install using cargo:
build from source:
Usage
fyrer looks for a fyrer.yml file in the current directory:
example config file fyrer.yml:
installers:
- dir: ./project1
cmd: pip install -r requirements.txt
servers:
- name: server1
cmd: python -m http.server 8000
dir: ./project1
env:
PORT: 8000
ENV: dev
- name: server2
cmd: npm start
dir: ./project2
watch: true # enable hot reload
ignore:
- "node_modules/**"
- "*.db"
Notes
watch: trueenables file monitoring for that server.- Ignore patterns follow
globsyntax. - restarts servers when watched files change.