Skip to content

Commit f748f50

Browse files
committed
fix: add missing options in the run help
1 parent f3e839c commit f748f50

File tree

1 file changed

+7
-0
lines changed
  • docs/man_pages/project/testing

1 file changed

+7
-0
lines changed

docs/man_pages/project/testing/run.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ Run on a selected connected device or running emulator. Will start emulator with
2222
* `--justlaunch` - If set, does not print the application output in the console.
2323
* `--release` - If set, produces a release build. Otherwise, produces a debug build.
2424
* `--device` - Specifies a connected device/emulator to start and run the app. `<Device ID>` is the index or `Device Identifier` of the target device as listed by the `$ tns device <Platform> --available-devices` command.
25+
* `--bundle` - Specifies that the `webpack` bundler will be used to bundle the application.
26+
* `--hmr` - (Beta) Enables the hot module replacement (HMR) feature. HMR depends on `webpack` and adding the `--hmr` flag to the command will automatically enable the `--bundle` option as well. <% if(isConsole) { %> The HMR feature is currently in Beta. For more information about the current development state and any known issues, please check the relevant GitHub issue: https://github.com/NativeScript/NativeScript/issues/6398.<% } %>
27+
* `--env.*` - Specifies additional flags that the bundler may process. May be passed multiple times. For example: `--env.uglify --env.snapshot`.
28+
* `--syncAllFiles` - Watches all production dependencies inside node_modules for changes. Triggers project rebuild if necessary!
29+
2530

2631
<% if((isConsole && isMacOS) || isHtml) { %>### Arguments
2732
`<Platform>` is the target mobile platform for which you want to run your project. You can set the following target platforms:
@@ -32,6 +37,8 @@ Run on a selected connected device or running emulator. Will start emulator with
3237

3338
<% if(isHtml) { %>
3439

40+
>Note: Hot Module Replacement (HMR) is currently in Beta. For more information about the current development state and any known issues, please check the relevant GitHub issue: https://github.com/NativeScript/NativeScript/issues/6398.
41+
3542
### Command Limitations
3643

3744
* The command will work with all connected devices and running emulators on macOS. On Windows and Linux the command will work with Android devices only.

0 commit comments

Comments
 (0)