Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
scottpayne93122 opened this issue Jul 16, 2021 · 2 comments
Open

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

scottpayne93122 opened this issue Jul 16, 2021 · 2 comments

Comments

@scottpayne93122
Copy link

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
Copy link

@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
Copy link

bckelley commented Mar 3, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants