Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialLeandro Severino
12,674 Pointshow would you directly edit a file on a live server using a text editor like sublime text or vscode.
how would you directly edit a file on a live server using a text editor like sublime text or vscode?
1 Answer
Kevin Korte
28,149 PointsDepends on how you're uploading files to servers, but in general, I just wouldn't.
My usual workflow is usually pushing a github master branch to a server, so I'd have to edit it locally, commit it, and than push it.
It a more straight forward situation, I suppose you could use an FTP client to download the file, modify it, and than upload it right back.
Or some simple servers have text editors built right into their web interface - where you save it, it's live.