NativeScript / NativeScript/nativescript-cli
`tns prepare ios --watch` does not "watch" the project/node_modules for changes
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 1.1k
- フォーク
- 204
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 8
説明
Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):
- CLI: 6.0.2
- Cross-platform modules:
- Android Runtime:
- iOS Runtime:
- Plugin(s):
Describe the bug
Executing tns prepare ios --watch on a project compatible with 6.0.0, the project is correctly prepared but it is not being watched and making any changes to the app or node_modules folders does not trigger new prepare.
To Reproduce
- Make a new app using CLI
- Run `tns prepare ios --watch
- Wait for the project to prepare
- Make changes to the app folder or any nativescript plugin in node_modules
- The app is not re-prepared
Expected behavior
Using --watch watches the app and node_modules for changes
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、新しい CLI 互換アプリで tns prepare ios --watch を実行し、app ディレクトリと node_modules ディレクトリ配下の変更によって別の prepare がトリガーされるかを確認します。prepare ios の watch エントリーポイントとファイル監視の設定を追跡します。両方の場所で確実に再度 prepare が実行されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- ios, javascript
- 領域
- cli, mobile
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100