작가:
    생성:2024-08-11마지막 업데이트:2026-09-12

    사전 감시

    bash
    npx intlayer watch
    

    이 명령어는 콘텐츠 선언 파일의 변경 사항을 감시하고 .intlayer 디렉토리에 사전을 빌드합니다. 이 명령어는 npx intlayer build --watch --skip-prepare와 동일합니다.

    별칭:

    • npx intlayer dictionaries watch
    • npx intlayer dictionary watch
    • npx intlayer dic watch

    인수:

    • --with: 감시와 병렬로 명령어를 시작합니다.
    예시: npx intlayer watch --with "next dev --turbopack"
    • --ci: 모노레포의 모든 Intlayer 프로젝트에서 명령어를 실행합니다(프로젝트 디렉터리 안에서 실행하면 해당 프로젝트만). 프로젝트별 자격 증명은 프로젝트 경로를 { "clientId", "clientSecret" }에 매핑하는 JSON 객체인 INTLAYER_PROJECT_CREDENTIALS를 통해 주입할 수 있습니다.
    예시: npx intlayer watch --ci