On Nov 22, 2005, at 7:08 PM, Urbanose wrote:
Maybe a "/" between "localhost" and "$TM_PROJECT_DIRECTORY" ?
Le 22 nov. 05 à 21:04, Benjamin Jackson a écrit :
I'd like to do a simple preview command to keep an html file in live update as I edit css. This doesn't seem to work:
echo "<meta http-equiv='Refresh' content='0; URL=file://localhost$TM_PROJECT_DIRECTORY/public/index.html'>"
What am I missing here? ___________________ Ben Jackson Diretor de Desenvolvimento
ben@incomumdesign.com http://www.incomumdesign.com
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
___________________ Ben Jackson Diretor de Desenvolvimento
+55 (21) 9997-0593 ben@incomumdesign.com http://www.incomumdesign.com
Nope. Tried that already. Besides, it gives an absolute path that starts with /.
- Ben
On Nov 22, 2005, at 11:10 PM, Benjamin Jackson wrote:
On Nov 22, 2005, at 7:08 PM, Urbanose wrote:
Maybe a "/" between "localhost" and "$TM_PROJECT_DIRECTORY" ?
Le 22 nov. 05 à 21:04, Benjamin Jackson a écrit :
I'd like to do a simple preview command to keep an html file in live update as I edit css. This doesn't seem to work:
echo "<meta http-equiv='Refresh' content='0; URL=file://localhost$TM_PROJECT_DIRECTORY/public/index.html'>"
What am I missing here? ___________________ Ben Jackson Diretor de Desenvolvimento
ben@incomumdesign.com http://www.incomumdesign.com
_ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Ben Jackson Diretor de Desenvolvimento
+55 (21) 9997-0593 ben@incomumdesign.com http://www.incomumdesign.com
___________________ Ben Jackson Diretor de Desenvolvimento
+55 (21) 9997-0593 ben@incomumdesign.com http://www.incomumdesign.com
On 23/11/2005, at 2:10, Benjamin Jackson wrote:
Nope. Tried that already. Besides, it gives an absolute path that starts with /.
Did you try with tm-file:// ? The following works for me:
echo "<meta http-equiv='Refresh' content='0; URL=tm-file://localhost$ {HOME}/Sites/index.html'>"
And alternate way to redirect is btw via the html “support library” found in the TM_SUPPORT_PATH (first library “includes” (sources) the library):
. "${TM_SUPPORT_PATH}/lib/html.sh" redirect "tm-file://localhost${HOME}/Sites/index.html"