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
Copy link
Copy link
Open
Description
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
- Create vue drawer application with version 6.1.4
- 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.
tns run android
- 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
- Go to nativescript-ui-chart repo
cd src && npm run setup
cd ../demo && tns run android
- 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