# Swift Playgrounds not updating automatically on macOS

**URL:** <https://forums.swift.org/t/swift-playgrounds-not-updating-automatically-on-macos/18207>\
**Category:** SourceKitten\
**Created:** [November 22, 2018, 11:48am UTC](https://forums.swift.org/t/swift-playgrounds-not-updating-automatically-on-macos/18207 "2018-11-22T11:48:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kavyasahu](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/kavyasahu/32/5317_2.png) [@kavyasahu](https://forums.swift.org/u/kavyasahu)\
**Post date:** [November 22, 2018, 11:48am UTC](https://forums.swift.org/t/swift-playgrounds-not-updating-automatically-on-macos/18207/1 "2018-11-22T11:48:36Z")

</div>

I have several Swift playgrounds on my machine that aren't updating automatically. I can manually select "Run Playground" from the Editor menu, which runs what's in the playground at that time, but it never updates when I type new code. I've tried clearing the compilation cache in `"$(getconf DARWIN_USER_CACHE_DIR)/org.llvm.clang.$(whoami)/ModuleCache"` , restarting Xcode, restarting the simulator service, even rebooting my Mac, and none of these fix the issue. What can I look at to make my playground update automatically?

**Thanks in advance**  
**Kavyasahu**  
[Salesforce Developer](https://mindmajix.com/salesforce-training)

---

<div class="post-metadata">

**Author:** ![krilnon](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/krilnon/32/276_2.png) [@krilnon](https://forums.swift.org/u/krilnon)\
**Post date:** [November 22, 2018, 2:37pm UTC](https://forums.swift.org/t/swift-playgrounds-not-updating-automatically-on-macos/18207/2 "2018-11-22T14:37:10Z")

</div>

Are your playgrounds perhaps running in the _Manually Run_ mode? It’s the default in Xcode 10. There’s a description of how to swap between modes in Xcode Help here, under _Run a playground_: [https://help.apple.com/xcode/mac/current/#/dev188e45167](https://help.apple.com/xcode/mac/current/#/dev188e45167)
