| 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 |
|
|||||
| slugs |
|
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'"
}Configuration options:
-
--base-dir: Specify the base directory for the project. To retrieve the intlayer configuration, the command will look for theintlayer.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)