機械翻訳について

vb-watch

ビジュアル・アプリケーションまたは拡張ソースを監視し、変更に基づいてビルドを再実行します。 初期ビルドが実行されます。

ビルドに関係するタスクは、タスク・ターゲットによって定義できます。次に例を示します:

# this will just rebuild the project, i.e. runs vb-clean vb-process-local
grunt vb-watch:rebuild
 
# this will also repackage (vb-clean vb-process-local vb-package)
grunt vb-watch:repackage
 
# this will also deploy (vb-clean vb-process-local vb-package vb-deploy)
grunt vb-watch:redeploy
 
# or without target ¿ defaults to repackage
grunt vb-watch

Gruntコマンドに追加できる追加のオプション--watchもあります。 この動作はvb-watchと同じですが、事前定義されたセットのかわりにカスタム・タスクを実行します。

grunt vb-clean vb-process-local vb-test --watch

詳細

詳細 説明
サブタスク 該当なし
マルチタスク 該当なし
フック

vb-watch-pre-run

vb-watch-post-run

ビルド・オプション

名前 必須 デフォルト値 説明
target 該当なし build ビルド・ディレクトリの名前
git-sources 該当なし ./ ビジュアル・アプリケーションのソースのロケーション。