Previewer now is TMWed (can support projects with different natures). Note: this commit does not compile. This previewer still only supports WRT libraries
#!/bin/sh
REPO_DIR=/usr/hg/wrttools/
LOG_DIR=/var/log/mercurial
HG_CMD=/usr/local/bin/hg
cd $REPO_DIR
${HG_CMD} serve -d -A ${LOG_DIR}/accesslog$$ -E ${LOG_DIR}/errorlog$$
# ${HG_CMD} serve