diff --git a/readme.md b/readme.md index da5e53f..381f812 100644 --- a/readme.md +++ b/readme.md @@ -13,6 +13,11 @@ npx remotion preview src/index.ts --webpack-poll=1000 +`voicevox-remotion-template` 配下で npm script から起動する場合は、下記のように `--` の後へ Remotion のオプションを渡す。 + + cd voicevox-remotion-template + npm run start -- --webpack-poll=1000 + 下記のオプションをつけると、仮想機械環境でもファイル変更を検知できる。 --webpack-poll=1000 @@ -22,4 +27,3 @@ ## 動画ファイルのエクスポート npm run build - diff --git a/voicevox-remotion-template/README.md b/voicevox-remotion-template/README.md index 295dfcb..fe23527 100644 --- a/voicevox-remotion-template/README.md +++ b/voicevox-remotion-template/README.md @@ -144,6 +144,13 @@ npm run start ``` +Dev Container / Windows 共有フォルダなどでファイル変更検知が不安定な場合は、 +Remotion の polling オプションを npm script 経由で渡します。 + +```bash +npm run start -- --webpack-poll=1000 +``` + ### 7. レンダリング ```bash npm run render YukkuriZundamon out/video.mp4