Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm compiling some rst files on a remote machine to generate html files. I want to view the generated html in my browser to see if it's right, make some changes to the rst, then view them again, etc. I'd like this feedback loop to be as tight as possible. I just started using a Mac, and I'm very new to it. Downloading the html every time is annoying. I was using WinSCP for stuff like this before.

share|improve this question

1 Answer 1

A .rst file is a reStructuredText file. If you generate .html files from that, the remote server should contain the .html files.

I would therefore configure an HTTP server on that machine to serve HTML from whatever folders you are generating .html into. The trick then is to disable caching so that you get to see changes by pressing F5 (or reload).

If you cannot configure an HTTP server, I would consider using something like SSHFS/SAMBA/NFS to share that directory and then browse it using a file:// URL.

share|improve this answer
    
Good suggestions, thanks. Seems like setting up something like that could be more trouble than it's worth though. I'm thinking using something like Transmit and just dragging and dropping the html files onto my local machine after every change would be best in terms of cost vs benefit. Not sure though... –  Jesse Aldridge Oct 17 '11 at 20:37

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.