LiveComment is the missing link in the Evolution of the Web.
- Impossible simple & minimalistic quine
- Powerfull multilanguage plugin system with live reload
- Single code for Frontend/Backend, just set like //:=frame('client.exec')
- LiveComment for 80/20 developers
- -1'000'000+ miles for your target
- Code navigator
- Code refactroing
- Local cloud IDE extension
- Your digital memory implant, brain helper
- Copy of your main
$ npm install livecomment --save
$ node bin/livecomment
// Import LiveComment module
var LiveComment = require('livecomment');
// Define options (default options location livecomment/config/config.js)
var options = {
port: 3070,
ws_port: 3071,
dangerousCodeExecution: ['client', 'server'], // for plugins
debug: 1,
common: {
ignore: [
/^node_modules.*/,
/^\.idea.*/,
/^\.svn.*/,
/^\.git.*/
]
},
paths: [
'/path/to/dir/',
// === or ===
{
'/path/to/dir1': {
ignore: [
/.*dist.*/
]
}
}
]
};
// Start server
var livecomment = new LiveComment(options);
See on console like that:
✔ socket.io server listening on port 8980
EXE.ONFRAME [server.exec][][frame] function
Scan files [
/path/to/dir/livecomment [
/path/to/dir/livecomment ]
Scan files ]
Watch for changes [
/path/to/dir/livecomment
/path/to/dir/livecomment/bin
/path/to/dir/livecomment/config
/path/to/dir/livecomment/plugins
/path/to/dir/livecomment/public/css
/path/to/dir/livecomment/public/js
/path/to/dir/livecomment/views
Watch for changes ]
✔ Express server listening on port 3070 in development mode
/path/to/dir/livecomment/bin/index-debug.js javascript
EXE.EMIT [this][CHECK FORMAT][mount] undefined CHECK FORMAT
EXE.EMIT [this][SUPPORT FORMATS][mount] undefined SUPPORT FORMATS
/path/to/dir/livecomment/config/config.js javascript
EXE.EMIT [this][DEFAULT CONFIG][mount] undefined DEFAULT CONFIG
/path/to/dir/livecomment/livecomment.js javascript
...
18Bth1u3pSJzPrCf21tx1F6iSzA2fgKdfU