Skip to content

Instantly share code, notes, and snippets.

@walling
Created February 24, 2012 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save walling/1901214 to your computer and use it in GitHub Desktop.
Save walling/1901214 to your computer and use it in GitHub Desktop.
Livestyle 0.0.14 debugging on Windows 7
socket.io present, connecting
test.html:18Subscribing to 1 files:
/test.css
test.html:18Received change notification for /test.css, refreshing
test.html:18Received change notification for /test.css, refreshing
##### Until this point it worked; it updated the CSS in the browser the first time. #####
test.html:18Received change notification for /test.css, refreshing
test.html:18Received change notification for /test.css, refreshing
Serving static files from c:\Users\digroli\Documents\Projects\tmp
Listening to http://0.0.0.0:3000/
info - socket.io started
GET /test.html 200 19ms
GET /test.css 200 70ms
debug - served static content /socket.io.js
debug - client authorized
info - handshake authorized 13538238981907022863
GET /favicon.ico 404 22ms
debug - setting request GET /socket.io/1/websocket/13538238981907022863
debug - set heartbeat interval for client 13538238981907022863
debug - client authorized for
debug - websocket writing 1::
Client 127.0.0.1:50349 connected
Client subscribed to 1 file(s):
/test.css
Starting to watch c:\Users\digroli\Documents\Projects\tmp\test.css using fs.watch
c:\Users\digroli\Documents\Projects\tmp\test.css changed on disc
Notifying 1 watcher(s):
127.0.0.1:50349
debug - websocket writing 5:::{"name":"change","args":["/test.css"]}
c:\Users\digroli\Documents\Projects\tmp\test.css changed on disc
Notifying 1 watcher(s):
127.0.0.1:50349
debug - websocket writing 5:::{"name":"change","args":["/test.css"]}
GET /test.css?livestyle=1330092813609 200 59ms
GET /test.css?livestyle=1330092813673 200 23ms
##### Until this point it worked; it updated the CSS in the browser the first time. #####
debug - emitting heartbeat for client 13538238981907022863
debug - websocket writing 2::
debug - set heartbeat timeout for client 13538238981907022863
debug - got heartbeat packet
debug - cleared heartbeat timeout for client 13538238981907022863
debug - set heartbeat interval for client 13538238981907022863
c:\Users\digroli\Documents\Projects\tmp\test.css changed on disc
Notifying 1 watcher(s):
127.0.0.1:50349
debug - websocket writing 5:::{"name":"change","args":["/test.css"]}
c:\Users\digroli\Documents\Projects\tmp\test.css changed on disc
Notifying 1 watcher(s):
127.0.0.1:50349
debug - websocket writing 5:::{"name":"change","args":["/test.css"]}
GET /test.css?livestyle=1330092827959 200 36ms
GET /test.css?livestyle=1330092827966 200 36ms
body {
background-color: white;
}
h1 {
color: blue;
text-shadow: 1px 2px 4px rgba(0, 0, 255, 0.5);
}
<!DOCTYPE html>
<html>
<head>
<title>Test</title>
<link rel="stylesheet" type="text/css" href="test.css">
</head>
<body>
<h1>Testing</h1>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment