-
Notifications
You must be signed in to change notification settings - Fork 0
maximiliano/nodejs-tail
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
USAGE Requirements Nodejs and npm installed, refer to https://github.com/joyent/node/wiki/Installation Modules express and socket.io installed # npm install express socket.io Setup # git clone git@github.com:maximiliano/nodejs-tail.git # cd nodejs-tail # touch log.out Running # node app.js or # node app.js path/to/file If no path to a file is passed, the app will assume it is to tail the log.out file in the repository root directory. Access http://localhost:8081 In a terminal feed log.out (or the one specified) file with new data. For example: echo "New data" >> log.out You will see this data poping in the browser, and in the browser console if you have that open. That's all there's to it.
About
Exibe o resultado de um tail no browser
Resources
Stars
Watchers
Forks
Releases
No releases published