Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Support both platform specific and non-platform specific file with the same name  #1084

Open
@Fatme

Description

@Fatme

Is your feature request related to a problem? Please describe.
Currently it is not possible to have both platform specific and non-platform specific files within the application - for example, app.scss and app.android.scss. If app.android.scss file is changed, application is restarted on device but the changes are not applied.

To reproduce:

Option 1

  1. Create vue drawer application with version 6.1.4
  2. Update nativescript-dev-webpack and CLI to @rc version if v6.2.0 is still not released or to 6.2.0 if it is officially released.
  3. tns run android
  4. Change something in app.android.scss - application restarts but the change is not applied

Expected: The application shouldn't be restarted and the change should be applied.

Option 2

  1. Go to nativescript-ui-chart repo
  2. cd src && npm run setup
  3. cd ../demo && tns run android
  4. go to src > initializers > chart-initializers.android.ts and make any changes ( those are not being synced)

Current workaround: Change chart-initializers.ts file to be chart-initializers.d.ts

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions