Search…
⌃K

I modified the contents of the file. But when I run it, I get the previous result.

If you have modified the contents of the main file, save the file, build it, and run it. The latest file contents will be executed.