nrd
Run npm run dev in background for all your Laravel Herd sites.
Installation
pipx install nrd
Important: After installing, set up the autostart service:
macOS:
nrd-service-install
Linux:
sudo nrd-service-install
Windows (Run PowerShell as Administrator):
nrd-service-install
This installs NRD as a system service that automatically starts when your computer boots, keeping your Vite dev servers running in the background.
Usage
If you have installed the background service you don't have to do anything.
Otherwise simply run the nrd command to start all Vite dev servers for your secured Herd sites:
nrd
Or run it as a module:
python -m nrd.nrd
Uninstall Service
macOS:
nrd-service-uninstall
Linux:
sudo nrd-service-uninstall
Windows (Run as Administrator):
nrd-service-uninstall
For detailed instructions, troubleshooting, and management commands, see the Service Installation Guide.
Features
- Automatically detects all secured Laravel Herd sites
- Runs Vite dev servers in the background
- Cross-platform service support (macOS, Linux, Windows)
- Auto-restart on failure
- Easy installation and management scripts
Requirements
- Python 3.8 or higher
- Laravel Herd installed and configured
- npm and node.js
- Sites with Vite configured
How It Works
NRD uses the herd parked --json command to discover all your secured Herd sites, then starts npm run dev for each site in the background. When configured as a service, it automatically starts on system boot and keeps your dev servers running.
Metadata
Release files for nrd 0.0.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nrd-0.0.12.tar.gz | 17.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nrd-0.0.12-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 26.8 kB
Release files / nrd-0.0.12.tar.gz
| Download URL | nrd-0.0.12.tar.gz |
|---|---|
| Size | 17.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4002b0d25b77bc7ecb5ebf198fa9e05675872e82194bfed74431c2ab9ccd4d85
|
|
BLAKE2b-256 checksum How to use checksums |
446d15f401ad41c98df26823b6c516c2f81e7ef67e7fbb13abda8abd979446fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.11
|
Release files / nrd-0.0.12-py3-none-any.whl
| Download URL | nrd-0.0.12-py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
52e7a14a68355f143963e6589cba0f104bd0ad6d5869f6e1b89ed77883329359
|
|
BLAKE2b-256 checksum How to use checksums |
042e7380262ecbbfe0128fbae18af790b4b38c8a52b1fa1b951a58d144fbd727
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.11
|