# How do you use the "develop" command?

**URL:** https://discourse.julialang.org/t/how-do-you-use-the-develop-command/123767
**Category:** General Usage
**Tags:** question, pkg, vscode, revise
**Created:** [December 12, 2024, 4:18pm UTC](https://discourse.julialang.org/t/how-do-you-use-the-develop-command/123767 "2024-12-12T16:18:41Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)
#### Post date: [December 12, 2024, 4:18pm UTC](https://discourse.julialang.org/t/how-do-you-use-the-develop-command/123767/1 "2024-12-12T16:18:42Z")

</div>

I have project A, that is using package B. Now I want to make changes to B and run project A again.

I can open project A in VSCode, type `using Revise; include("src/A.jl)` to execute my code and then type `]develop B` to make changes to `B`.

Now the code of `B` is checked out. But what would be the next step?

I can open the source code of `B` with VSCode now, but then `A` is not longer open. But for iterating fast I want to have both `A` and `B` open.

What is the best way to achieve that?

Perhaps I have to mention that `include("src/A.jl")` launches a web server. I guess I still have to restart it to make changes to `B` come into effect, or not?

---

<div class="post-metadata">

### Author: ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)
#### Post date: [December 12, 2024, 5:41pm UTC](https://discourse.julialang.org/t/how-do-you-use-the-develop-command/123767/2 "2024-12-12T17:41:57Z")

</div>

For that I launch two VSC’s and load one package in each.

---

<div class="post-metadata">

### Author: ![greatpet](https://avatars.discourse-cdn.com/v4/letter/g/e495f1/32.png) [@greatpet](https://discourse.julialang.org/u/greatpet)
#### Post date: [December 12, 2024, 9:04pm UTC](https://discourse.julialang.org/t/how-do-you-use-the-develop-command/123767/3 "2024-12-12T21:04:31Z")

</div>

In Linux, I would open two separate VSCode windows for the two packages with the following commands, which also handles `]develop`.

```julia
cd ~/MyPackages/PackageA
julia --project -e 'using Pkg; Pkg.develop(path="../PackageB")'
code . # Launch VSCode window 1
cd ~/MyPackages/PackageB
code . # Launch VSCode window 2

```

---

<div class="post-metadata">

### Author: ![jmulcahy](https://avatars.discourse-cdn.com/v4/letter/j/22d042/32.png) [@jmulcahy](https://discourse.julialang.org/u/jmulcahy)
#### Post date: [December 13, 2024, 7:25pm UTC](https://discourse.julialang.org/t/how-do-you-use-the-develop-command/123767/4 "2024-12-13T19:25:04Z")

</div>

I think what you want is VS Code’s [multi-root workspaces](https://code.visualstudio.com/docs/editor/multi-root-workspaces)? You can add project A and B to the same workspace, and activate A to work with it while using `Revise` to update B.
