Skip to content

How to run standalone and allow for editing? #79

Answered by dkrystki
PoweredByPeople asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @PoweredByPeople

Your process has to be long lived or paused by debugger to use hot reloading.

Use below example to play around in run mode.

from time import sleep

a = 1  # Change this

def fun():
    print(f"a = {a}")
    sleep(1)


while True:
    fun()

VsCode is not yet fully supported at the moment.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dkrystki
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants