Skip to content

External files are not livesynced #5251

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
rosen-vladimirov opened this issue Feb 17, 2020 · 1 comment
Closed

External files are not livesynced #5251

rosen-vladimirov opened this issue Feb 17, 2020 · 1 comment
Assignees
Labels
Milestone

Comments

@rosen-vladimirov
Copy link
Contributor

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.4.0
  • Cross-platform modules: Not applicable
  • Android Runtime: Not applicable
  • iOS Runtime: Not applicable
  • Plugin(s): Not applicable

Describe the bug
In case you have defined externals in your webpack.config.js, changing the code in those externals is not livesynced, so the changes are not visible on device. You have to restart the command to apply the changes, which makes the process slow.

To Reproduce
Use the project here - https://github.com/rosen-vladimirov/appWebpackExternalsIssue - check the README for description.

Expected behavior
Changes in externals must be visible and should not require restart of CLI command.

Sample project
https://github.com/rosen-vladimirov/appWebpackExternalsIssue

Additional context
Fix may result in regression in #5105

@dtopuzov
Copy link
Contributor

Fix available in nativescript@rc, will be shipped with [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants