dev-server

Automate local dev server setup and monitor build status across packages.

1|1|Updated Jun 11, 2024
One-click install
npx skills add https://github.com/ag-grid/ag-shared --skill dev-server-ag-grid
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: dev-server
Source: https://github.com/ag-grid/ag-shared/tree/main/prompts/skills/dev-server
Command: npx skills add https://github.com/ag-grid/ag-shared --skill dev-server-ag-grid

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Development teams struggle to coordinate local dev servers, watch builds, and troubleshoot build failures across multiple packages. This Skill provides a structured guide to spin up a local Astro dev server, monitor build status, and ensure smooth live-reload workflows.

Core Features & Use Cases

  • Dev server setup: Quick-start local server with automatic rebuilds when source files change.
  • Watch monitoring: Integrates with the Nx-based build system to surface status and recent builds for troubleshooting.
  • Environment guidance: Notes on using a shared HTTPS server and handling self-signed certs during automation.

Quick Start

Start the dev server and verify live rebuilds using yarn nx dev.

Frequently Asked Questions about dev-server

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I start a local development server with live rebuilds?▼

To start a local development server with live rebuilds, run the `yarn nx dev` command. This initiates an Astro dev server that automatically monitors source files and triggers live-reload workflows upon changes.

How do I monitor build status across multiple packages?▼

You monitor build status across multiple packages by reading the `ag-watch-status.json` status file. This Nx-based integration exposes deterministic status fields to help you track recent builds and troubleshoot failures.

What is the best way to troubleshoot watch build failures in a monorepo?▼

Troubleshooting watch build failures in a monorepo involves checking the `ag-watch-status.json` file. This file surfaces recent build statuses and diagnostic information across all packages to isolate issues quickly.

Do I need to configure HTTPS for a local Astro dev server?▼

Configuring HTTPS for a local Astro dev server requires using a shared HTTPS server and handling self-signed certificates. Proper cert configuration is necessary to ensure smooth automated local development workflows.

Can I use Nx to manage watch builds for a multi-package project?▼

Yes, you can use Nx to manage watch builds for a multi-package project. The system integrates with the `nx dev` command to coordinate local dev servers, monitor build statuses, and automate live rebuilds across packages.

Why does my local dev server not show live rebuilds?▼

Local dev server live rebuilds may fail if the watch build process crashes or encounters source errors. Check the `ag-watch-status.json` file to inspect the current build status and diagnose the specific package failure.