StartBootstrap / startbootstrap-resume

A Bootstrap 4 resume/CV theme created by Start Bootstrap
https://startbootstrap.com/theme/resume/
MIT License
2.04k stars 2.62k forks source link

NPM run start erasing edits and reverting to original file #268

Open scottpayne93122 opened 3 years ago

scottpayne93122 commented 3 years ago

Hello,

If I close terminal and run "NPM start" more than once my edits are not saved and everything reverts back to the original template. Can someone point me in the right direction as to why this is happening?

I'm mainly editing the .html file in the dist directory but everything is reverted each time I run "NPM start"

This hasn't happened to me on other projects before. I'm wondering how this is happening so I can avoid it in the future.

Thank you!

Ali-Shaikh commented 3 years ago

@scottpayne93122 You should edit the startbootstrap-resume/src/pug/index.pug file and not the file in the dist directory. Becuase when you run 'npm start' it will build the project from src and replace everything that is in the dist folder.

I hope this helps.

bckelley commented 2 years ago

You should edit the startbootstrap-resume/src/pug/index.pug file

I agree if you edit the pug file and not the html file your settings are saved.

this issues should be closed