You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 7, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 7, 2021. It is now read-only.
[HMR] Changes in plugin do NOT apply in angular projects #914
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: 5.4
Cross-platform modules: 5.4
Android Runtime: 5.4
iOS Runtime: 5.4
Plugin(s): nativescript-ui-autocomplete@4.0
Node.js: 12.3.1
Please, attach your package.json and webpack.config.js as these configurations are usually critical for investigating issues with webpack - default.
Describe the bug
Changes in plugin do NOT apply in angular projects with HMR.
To Reproduce
git clone https://github.com/NativeScript/nativescript-ui-autocomplete.git && cd ./nativescript-ui-autocomplete/src
npm run postclone && cd ../demo-angular
tns run android|ios (--hmr)
Make a change in nativescript-ui-autocomplete/src/angular/autocomplete-directives.ts.
For example, add a console.log() to the constructor. This change is going to be applied.
Make a change in .nativescript-ui-autocomplete/src/ui-autocomplete.common.ts.
For example, add a console.log() to the constructor. This change is NOT going to be applied.
As the initial instance of the component is kept in the registry, in order to apply the changes in ui-autocomplete.common.ts, it would be needed to register again the RadAutoCompleteTextView component.
Activity