ps-watch

Solid

Sets up BrowserSync live-reload watcher for PrestaShop Panda child theme development in Lando. Auto-detects child theme name and Lando proxy URL. Watches child theme CSS/JS/TPL files and reloads the browser automatically on save. Use when working on PS frontend/maquetación in Lando and the user wants auto-reload, live reload, watcher, or is tired of reloading the browser manually after CSS changes.

Web & Frontend 3 stars 0 forks Updated today MIT

Install

View on GitHub

Quality Score: 79/100

Stars 20%
20
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# PS Watch — BrowserSync para Panda child theme en Lando Auto-reload en el browser cada vez que guardas CSS, JS o TPL del child theme. No toca Panda parent. Funciona fuera del contenedor Lando. --- ## Setup (ejecutar una vez por proyecto) ### Paso 1 — Detectar child theme y URL de Lando ```bash # Child theme = cualquier carpeta en themes/ que no sea panda ni core ls themes/ | grep -vE "^(panda|core|\.)" ``` ```bash # URL de Lando — leer el campo name del .lando.yml grep "^name:" .lando.yml | awk '{print $2}' # URL resultado: http://<name>.lndo.site # Usar HTTP, no HTTPS — evita errores de cert self-signed de Lando ``` ### Paso 2 — Crear `bs-config.js` en el root del proyecto Sustituir `CHILD_THEME` por el nombre detectado y `LANDO_URL` por `http://<name>.lndo.site`: ```js module.exports = { proxy: "http://LANDO_URL", files: [ "themes/CHILD_THEME/assets/css/**/*.css", "themes/CHILD_THEME/assets/js/**/*.js", "themes/CHILD_THEME/templates/**/*.tpl", "modules/*/views/templates/**/*.tpl", "modules/*/views/css/**/*.css", ], open: false, notify: false, reloadDelay: 150, logLevel: "info", }; ``` ### Paso 3 — Crear o actualizar `package.json` en el root Si ya existe `package.json`, añadir solo las entradas que falten. Si no existe, crear completo: ```json { "private": true, "scripts": { "watch": "browser-sync start --config bs-config.js" }, "devDependencies": { "browser-sync": "^3" } } ``` ### Paso 4 — Instalar dependenc...

Details

Author
educlopez
Repository
educlopez/mallard
Created
2 months ago
Last Updated
today
Language
Go
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

API & Backend Solid

lando-setup

Sets up a PrestaShop 8/9 project locally with Lando, or refreshes its database from the server. Full setup configures Lando, syncs app/config, picks a free port, imports the DB and fixes shop URLs; DB refresh mode only re-dumps and re-imports the database. Use when the user says "monta el proyecto", "setup lando", "prepara en local", "levanta el lando de X", "configura X en local", "actualízame la DB", "refresca la DB de X", "bájame la DB de X", "sync DB", or "quiero la DB actualizada de X".

3 Updated today
educlopez
Web & Frontend Solid

ps-css-build

Sets up a modern CSS build pipeline for a PrestaShop child theme: source partials in _dev/css/, lightningcss bundle+minify to a single generated assets/css/custom.css, pnpm 11 with supply-chain hardening, pre-commit hook with zero-dependency Node fallback, and agent/team documentation. Replaces runtime @import chains and manual ?v= cache-bust versioning. Use when scaffolding CSS architecture for a new PS child theme, when a theme has multiple @import'ed CSS partials loaded at runtime, when the user mentions manual CSS version bumps, CSS cache busting problems, "el CSS no se actualiza", or wants the Milagros-style CSS build on another project.

3 Updated today
educlopez
AI & Automation Solid

ps-new-project

Orchestrate the day-1 setup that remains after cloning a PrestaShop repo and running lando-setup: scaffold the child theme (panda or elementflow track), wire the CSS build, and write CLAUDE.md. Composes existing skills (ps-css-build, ps-project-doc, lando-setup). Does NOT create the GitLab repo, the server, or install PrestaShop core. Use when starting a new client project locally and you need the standard scaffold fast.

3 Updated today
educlopez