yarn install removes everything from /client/assets folder
Do you want to request a feature or report a bug? bug
What is the current behavior? When I run yarn install everything under the folder client/assets is removed (including all subfolders and files). Is there any flag to prevent this behaviour?
Please mention your node.js, yarn and operating system version. yarn 0.15.1 node 5.10.1 OS: Windows 10
Do you use bower in that director by any chance?
Not sure if this is related, but yarn removes the lib/assets folder when installing istanbul. npm install istanbul will recover the folder.
And I found the culprit - I had a .yarnclean file in my project. After I removed this file, yarn no longer removes the assets folder from istanbul.
@skuridin ~~no, I'm not using bower~~
Ups, I see bower files within the project, someone from the team added them. I removed them and everything is OK now. Thanks for the hint.
I have exactly the same problem. yarn removes assets automatically if .yarnclean in the project.