keep-network / local-setup

Allow to easily set up tBTC and Keep locally for development and test purposes.
MIT License
8 stars 16 forks source link

Flatten the `npm link` Commands into One Line #59

Closed beaurancourt closed 3 years ago

beaurancourt commented 3 years ago

Calling npm link multiple times in one directory, for whatever reason, unlinks all links and then only links the executed command. So:

npm link foo
npm link bar

will link foo, unlink foo, and then link bar. This leaves you with only bar linked. To link both, we flatten the command:

npm link foo bar

tagging @Shadowfiend for review since we discovered it while getting my environment booted up

Shadowfiend commented 3 years ago

Rerunning from scratch seems to have behaved as expected, so let's do this thing.