NativeScript / NativeScript/nativescript-cli
[CLI] Manual watching the source changes
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 1.1k
- フォーク
- 204
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 8
説明
From @raffaeler on February 6, 2019 10:58
Is your feature request related to a problem? Please describe.
When tns run is started, it takes a while before deploying the application. For this reason I prefer to run in watch mode (tns run or tns debug).
Anyway, when you are doing more than a trivial change, it would be useful to manually trigger the compilation/deploy without stopping and re-running tns run or tns debug.
Describe the solution you'd like
When the terminal is in tns run or tns debug it can accept keyboard commands. It would be useful to add support for three commands while the terminal is watching:
- 's' key: suspend watching
- 'r' key: resume watching
- 'd' key: deploy while in suspended mode
Describe alternatives you've considered
Stopping and restarting tns run or tns debug is way too slow.
Copied from original issue: NativeScript/NativeScript#6865
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
tns run と tns debug の CLI エントリポイントから始め、watch モードのライフサイクルとターミナル入力の処理に焦点を当てます。一時停止された watch、再開された watch、手動デプロイがどのように連携すべきかを定義し、要求された s、r、d コマンドが実行中のコマンドを停止せずに動作することを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- cli
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 42/100