Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .