Skip to content

HMR & Ability to restart app if the specified file changed  #5654

@dgmachado

Description

@dgmachado

Is your feature request related to a problem? Please describe.

I wish I could use hmr as default on the NativeScript CLI but if necessary I could declare an array of files that if changed then should restart the app.

Describe the solution you'd like

ns run ios --no-hmr-files=no_hmr_files.json

no_hmr_files.json = it's just a file containing the list of files if changed I'd like to force an app restart

or

Just a customization inside the webpack.config.js file setting the no_hmr_files.json location if no need to pass it always by command line.

Describe alternatives you've considered

No response

Anything else?

No response

Please accept these terms

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-pending-triageA new feature request pending triage to confirm validity.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions