# Development workflow: quickly test code modifications

**URL:** <https://forum.dfinity.org/t/development-workflow-quickly-test-code-modifications/1793>\
**Category:** Developers\
**Created:** [January 13, 2021, 5:25pm UTC](https://forum.dfinity.org/t/development-workflow-quickly-test-code-modifications/1793 "2021-01-13T17:25:41Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Ori](https://avatars.discourse-cdn.com/v4/letter/o/ecae2f/32.png) [@Ori](https://forum.dfinity.org/u/Ori)\
**Post date:** [January 19, 2021, 5:55pm UTC](https://forum.dfinity.org/t/development-workflow-quickly-test-code-modifications/1793/9 "2021-01-19T17:55:09Z")

</div>

Ah, you’ll need to add the credits canister as a dependency of the serve canister in your dfx.json, like this:

```
"serve": {
    "main": "src/serve/main.mo",
    "type": "motoko",
    "dependencies": [
        "credits"
    ]
},

```

Then the above steps should work, so…

First run only:  
`dfx deploy`

Subsequent runs for single canister changes:  
`dfx build serve && dfx canister install serve -m upgrade && dfx canister call serve myFunc`

---

_[View the full topic](https://forum.dfinity.org/t/development-workflow-quickly-test-code-modifications/1793)._
