chore: update dev workflow for Angular app#7861
chore: update dev workflow for Angular app#7861rynop wants to merge 1 commit intoNativeScript:masterfrom rynop:patch-2
Conversation
|
While this works it requires lots of manual work, which is not ideal. Imho, it should work the same for Angular and TS project. Here are my thoughts:
|
|
I'll make some tests where the problem is, since it is happening only in Angular (though I might have seen it in Vue+TS) and then we can address it in dev-webpack or, if not possible - create an automated script to deploy to another folder. |
|
@bundyo I followed the steps from "running another app" plus one additional step - adding the The reason why we don't want to promote alternative dev setups is because we can't support them. We adhere to the dev setup in the nativescript plugin seed to make sure the |
|
@rynop as elaborated by @MartoYankov I have logged a separate issue #7905 that we will need to address to fix the dev workflow in this scenario. I will close this PR for the time being. |
PR Checklist
What is the current behavior?
When trying to contribute to
tns-core*, and using an external NS Angular to develop/test these contributions, the compile step fails when following the instructions currently outlined in DevelopmentWorkflow.md (Running Another App).@bundyo discovered this workaround, I'll paste his findings here:
What is the new behavior?
This PR contains a workaround for Angular that moves
tns-core*to a newdistdirectory.This workflow is obviously not ideal. Would love the NativeScript team's thoughts on a cleaner solution.
Fixes NativeScript/nativescript-dev-webpack#1044 and #7745