5.5 Seeing your changes faster

At most, you’ll create a few apps a day, but you’ll run apps hundreds of times, so mastering the development workflow is particularly important. - Hadley Wickham (author)

  • Avoid clicking the “Run App” button

  • Use keyboard shortcut: Cmd/Ctrl + Shift + Enter

  • Turn auto reload on and run the app in the background as described here.

    • Gives faster workflow: write some code, Cmd/Ctrl + S to save the file and experiment interactively.

    • Disadvantage: harder to debug because the app is running in a separate process.

    • Bigger apps: interactive testing >> automated testing (Chapter 21).

    • Demo starting an app as a local job.