Skip to content

Commit 811b406

Browse files
committed
docs: add package.json change effect to run, debug, test docs
1 parent 04584cd commit 811b406

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

docs/man_pages/project/testing/debug.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,21 @@ Initiates a debugging session for your project on a connected device or native e
1414
With HMR (Hot Module Replacement):
1515
* Changes in `.js`, `.ts`, `.less`, `.sass` and other file types that are accepted will cause a refresh of the application.
1616
* Changes in `App_Resources` will cause a rebuild of the application.
17+
* Changes in any `package.json` file inside the project will cause a rebuild of the application.
1718
* Changes in `node_modules/somePlugin` if accepted will cause a refresh of the application.
1819
* Changes in `node_modules/somePlugin/platforms` will cause a rebuild of the application.
20+
* Changes in `node_modules/somePlugin/package.json` file will cause a rebuild of the application.
1921
* Changes that are not accepted and HMR fails will cause a restart of the native application.
2022

2123
With **no** HMR:
2224
* Changes in `.js`, `.ts`, `.less`, `.sass` and other file types will cause a restart of the native application.
2325
* Changes in `App_Resources` will cause a rebuild of the application.
26+
* Changes in any `package.json` file inside the project will cause a rebuild of the application.
2427
* Changes in `node_modules/somePlugin` will cause a restart of the native application.
2528
* Changes in `node_modules/somePlugin/platforms` will cause a rebuild of the application.
29+
* Changes in `node_modules/somePlugin/package.json` file will cause a rebuild of the application.
2630

27-
When running this command with `--debug-brk` any file change will cause a restart of the native application. Changes in `App_Resources` and `node_modules/somePlugin/platforms` will cause a rebuild of the application.
31+
When running this command with `--debug-brk` any file change will cause a restart of the native application (HMR is disabled). Changes in `App_Resources` and `node_modules/somePlugin/platforms` will cause a rebuild of the application.
2832
<% } %>
2933

3034
### Commands

docs/man_pages/project/testing/run.md

+4
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,19 @@ When running this command without passing `--release` flag, the HMR (Hot Module
1616
With HMR (Hot Module Replacement):
1717
* Changes in `.js`, `.ts`, `.less`, `.sass` and other file types that are accepted will cause a refresh of the application.
1818
* Changes in `App_Resources` will cause a rebuild of the application.
19+
* Changes in any `package.json` file inside the project will cause a rebuild of the application.
1920
* Changes in `node_modules/somePlugin` if accepted will cause a refresh of the application.
2021
* Changes in `node_modules/somePlugin/platforms` will cause a rebuild of the application.
22+
* Changes in `node_modules/somePlugin/package.json` file will cause a rebuild of the application.
2123
* Changes that are not accepted and HMR fails will cause a restart of the native application.
2224

2325
With **no** HMR:
2426
* Changes in `.js`, `.ts`, `.less`, `.sass` and other file types will cause a restart of the native application.
2527
* Changes in `App_Resources` will cause a rebuild of the application.
28+
* Changes in any `package.json` file inside the project will cause a rebuild of the application.
2629
* Changes in `node_modules/somePlugin` will cause a restart of the native application.
2730
* Changes in `node_modules/somePlugin/platforms` will cause a rebuild of the application.
31+
* Changes in `node_modules/somePlugin/package.json` file will cause a rebuild of the application.
2832
<% } %>
2933

3034
### Commands

docs/man_pages/project/testing/test.md

+2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ Runs unit tests on the selected mobile platform.<% if(isConsole) { %> Your proje
1313
#### How file changes are handled
1414
* Changes in `.js`, `.ts`, `.less`, `.sass` and other file types will cause a restart of the native application.
1515
* Changes in `App_Resources` will cause a rebuild of the application.
16+
* Changes in any `package.json` file inside the project will cause a rebuild of the application.
1617
* Changes in `node_modules/somePlugin` will cause a restart of the native application.
1718
* Changes in `node_modules/somePlugin/platforms` will cause a rebuild of the application.
19+
* Changes in `node_modules/somePlugin/package.json` file will cause a rebuild of the application.
1820
<% } %>
1921

2022
### Commands

0 commit comments

Comments
 (0)