מחבר:
    נוצר:2024-08-11עדכון אחרון:2026-11-03

    האזנה למילונים (Watch Dictionaries)

    bash
    npx intlayer watch
    

    פקודה זו תאזין לשינויים בקובצי הצהרת התוכן שלך ותבנה את המילונים בתוך תיקיית .intlayer. פקודה זו שוות ערך ל-npx intlayer build --watch --skip-prepare.

    כינויים (Aliases):

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

    ארגומנטים:

    • --with: הפעלת פקודה במקביל להאזנה.

      דוגמה: npx intlayer watch --with "next dev --turbopack"
    • --ci: הרצת הפקודה בכל פרויקט Intlayer במונוריפו (או רק בנוכחי בהרצה מתוך תיקיית פרויקט). ניתן להזריק אישורים דרך INTLAYER_PROJECT_CREDENTIALS, מפת JSON של נתיב פרויקט ל-{ "clientId", "clientSecret" }.

      דוגמה: npx intlayer watch --ci