Skip to main content
scan36
Participant
August 29, 2022
Question

lors de la sauvegarde d'un fichier modifier le placer simultanément

  • August 29, 2022
  • 2 replies
  • 340 views

bonjour

dans une version précédent lorsque l'on sauvegardais un fichier modifié il etait placer directement et simultanément. Maintenant je dois le saugarder (seule commande proposée quand on quite) et puis le placer. Comment modifer les paramètres pour que lorsque l'on sauvegarde le placement s'effectue ?

This topic has been closed for replies.

2 replies

Nancy OShea
Community Expert
Community Expert
August 29, 2022

Forgive me for saying this but that is a dangerous workflow.  I do not recommend upload on save, sorry. What if you accidently upload a corrupted file to your server? 

 

Saving first allows you to check your work locally to ensure it works correctly.  Use Ctrl + Shift + U to upload.

 

Nancy O'Shea— Product User & Community Expert
B i r n o u
Legend
August 30, 2022
quote

What if you accidently upload a corrupted file to your server? 

By @Nancy OShea

 

well, I use this worklow since it exist anywhere, in any code editor... I can't rember when I did not use it...  and it never , never, did anything wrong or damaging, nor for I, nor for my clients, nor for the team

 

so, what happen, if the file is defective and creates a malfunction of the site

  1. Saving a bad file, and so placing it... wrongly
  2. Checking the result in live... argh... damn...
  3. don't panic, Ctrl-Z in the code editor
  4. save the file again, the old file is send back to server
  5. that's it... it's ok Houston, we got it

 

Community Expert
August 29, 2022

Bonjour,

 

Depuis les paramètres du site, rendez-vous dans les paramètres avancés et cochez la seconde case en partant du haut qui placera automatiquement les fichiers en même temps que vous les sauvegardez.