Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 1.19 KB

File metadata and controls

41 lines (31 loc) · 1.19 KB
createdAt 2024-08-11
updatedAt 2025-11-22
title Live Sync Commands
description Learn how to use Live Sync to reflect CMS content changes at runtime.
keywords
Live Sync
CMS
Runtime
CLI
Intlayer
slugs
doc
concept
cli
live

Live Sync commands

Live Sync lets your app reflect CMS content changes at runtime. No rebuild or redeploy required. When enabled, updates are streamed to a Live Sync server that refreshes the dictionaries your application reads. See Intlayer CMS for more details.

"scripts": {
  "intlayer:live:start": "npx intlayer live start --with 'next dev --turbopack'"
}

Arguments:

Configuration options:

  • --base-dir: Specify the base directory for the project. To retrieve the intlayer configuration, the command will look for the intlayer.config.{ts,js,json,cjs,mjs} file in the base directory.

  • --no-cache: Disable the cache.

    Example: npx intlayer dictionary push --env-file .env.production.local

Log options:

  • --verbose: Enable verbose logging for debugging. (default to true using CLI)