Thomas T.
Thomas T.

Reputation: 45

JavaScript changes not showing in Github

I went back to one of my old apps https://github.com/Darkstar93/Warcraft-Quiz I made using a lot of Javscript/jQuery. Since It was so old (2016) the entire thing used VAR instead of the newer standard of Const/Let strings.

I've updated the code in VS Code and made the commits to Github. When I open the files in GitHub it shows the changes made to the var's. But when I try and look at the Page site in DevTools in the browser it only shows the old code.

What step am I missing to make sure the new code is updated on the Page?

I really appreciate your help!

Upvotes: 1

Views: 62

Answers (1)

VonC
VonC

Reputation: 1323973

I see new commits on the master branch, but not on the gh-pages branch.

Depending on your publishing source, your GitHub Pages site (darkstar93.github.io/Warcraft-Quiz) might only take its source from the latter branch (gh-pages). which was not updated.

Upvotes: 1

Related Questions