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
First of all thanks for working on this great project.
Tell us about the problem
I just deleted the "item" directory of the angular starter template while running tns run android and the application refreshed 12 times in a row, presumable once for every file/folder deleted.
Which platform(s) does your issue occur on?
It's a CLI problem, I encountered it on ubuntu 14.04
Please provide the following version numbers that your issue occurs with:
CLI: 3.0.3
Cross-platform modules: 3.0.1
Runtime(s): android: 3.0.1
Plugin(s): none
Please tell us how to recreate the issue in as much detail as possible.
tns create testApp --ng
cd testApp
tns run android
Now delete app/items and watch the app get rebuild for the next minute or two.
The text was updated successfully, but these errors were encountered:
Hey @b12f ,
We've worked a lot to improve this scenario with the 3.1.x version, so can you try using the rc version of CLI and see if it resolves your issue? In order to install it, just use npm install -g nativescript@rc.
File watching indeed appears to be debounced, which makes development a whole lot easier. Deleting files however does not currently trigger a rebuild at all for me, only editing files. That's cool, but I'm not sure if that is the intended behaviour.
Hey @b12f ,
In case you delete .js files, application should be restarted, but not rebuilt. However, in case you delete something in App_Resources of your application, a rebuild is required. What did you delete? In case it were only .js (.ts) files, it is expected just to restart the app.
First of all thanks for working on this great project.
Tell us about the problem
I just deleted the "item" directory of the angular starter template while running
tns run android
and the application refreshed 12 times in a row, presumable once for every file/folder deleted.Which platform(s) does your issue occur on?
It's a CLI problem, I encountered it on ubuntu 14.04
Please provide the following version numbers that your issue occurs with:
Please tell us how to recreate the issue in as much detail as possible.
Now delete
app/items
and watch the app get rebuild for the next minute or two.The text was updated successfully, but these errors were encountered: