add clearer safe write note to readme

This commit is contained in:
Jeff Escalante 2020-04-14 19:48:08 -04:00
parent 8ff109b66f
commit 87091f7456
No known key found for this signature in database
GPG Key ID: 32D23C61AB5450DB
1 changed files with 3 additions and 1 deletions

View File

@ -10,7 +10,9 @@ If you find a typo or you feel like you can improve the HTML, CSS, or JavaScript
## Running the Site Locally ## Running the Site Locally
The website can be run locally through node.js or Docker. If you choose to run through Docker, everything will be a little bit slower due to the additional overhead, so for frequent contributors it may be worth it to use node. Also if you are a vim user, it's also worth noting that vim's swapfile usage can cause issues for the live reload functionality. In order to avoid these issues, make sure you have run `:set backupcopy=yes` within vim. The website can be run locally through node.js or Docker. If you choose to run through Docker, everything will be a little bit slower due to the additional overhead, so for frequent contributors it may be worth it to use node.
> **Note:** If you are using a text editor that uses a "safe write" save style such as **vim** or **goland**, this can cause issues with the live reload in development. If you turn off safe write, this should solve the problem. In vim, this can be done by running `:set backupcopy=yes`. In goland, search the settings for "safe write" and turn that setting off.
### With Docker ### With Docker