Run the Dev Server

Start the Server

pnpm fluxlay dev

Or specify a directory:

pnpm fluxlay dev ./my-wallpaper

How It Works

  1. Validates fluxlay.yaml in the project directory.
  2. Finds an available port starting from 3000.
  3. Starts a Vite dev server.
  4. Writes a dev.json to the app data directory so the desktop app can discover it.
  5. The desktop app renders the wallpaper with hot module replacement (HMR).

Requirements

  • The Fluxlay desktop app must be running.
  • A valid fluxlay.yaml must exist in the project root.