-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Description
git clean -xdf
keeps deleting src\SignalR\clients\ts\signalr
and src\SignalR\clients\ts\signalr-protocol-msgpack
Repro steps:
build /t:restore
(runs npm install)dir /al /s
(shows those folders as hard junctions from\src\SignalR\clients\ts\FunctionalTests\node_modules\@aspnet
)git clean -xdf
(those folders get deleted)git status
(git shows those folders as deleted)
This happens because we've configured a junction between src\SignalR\clients\ts\FunctionalTests\node_modules\@aspnet\signalr
and src\SignalR\clients\ts\signalr
(how?) and node_modules/
is in the .gitignore
file. When git clean clears the node_modules dir it follows the junction and deletes the client as well.
Proposal: can we populate the node_modules\@aspnet\signalr
folder via some other mechanism besides using a junction? E.g. manually copy the files?
Open question: Where is this junction configured? Is it this?
https://github.com/aspnet/AspNetCore/blob/89a7f3cf774d46eaaea26861744a224a6487f31c/src/SignalR/clients/ts/tsconfig.base.json#L21-L28