Where does the debugger pick up code from?


#1

Hi, I’m trying to modify the code and see the debugger output by I find that changing the code in the src folder doesn’t do anything. I have to change the code in the dist folder instead. Can someone explain what it is that the 2 folders do?


#2

If you’re using TypeScript, you need to run npm run tsc after changing code in your src folder.

Here’s more about Jovo apps in TypeScript:


#3

Got it. Thank you!
What is the difference between the dist and src folders?


#4

src is where you make the changes in TypeScript, dist are the compiled JavaScript files that are generated with npm run tsc