Ask your question and get a summary of the document by referencing this page and the AI provider of your choice
If you have an idea for improving this documentation, please feel free to contribute by submitting a pull request on GitHub.
GitHub link to the documentationCopy doc Markdown to clipboard
Watch Dictionaries
Copy the code to the clipboard
This command will watch for changes in your content declaration files and build the dictionaries in the .intlayer directory.
This command is the equivalent of npx intlayer build --watch --skip-prepare.
Aliases:
npx intlayer dictionaries watchnpx intlayer dictionary watchnpx intlayer dic watch
Arguments:
--with: Start command in parallel with the watch.Example:
npx intlayer watch --with "next dev --turbopack"--ci: Run the command in every Intlayer project of the monorepo (or only the current one when run from a project directory). Per-project credentials can be injected viaINTLAYER_PROJECT_CREDENTIALS, a JSON map of project path to{ "clientId", "clientSecret" }.Example:
npx intlayer watch --ci
