mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00

* Fix the "/" bug. * Update the "hub-test" to make them work everywhere! * 🤛Fix the "/" bug ! * Fix indentation * ✂️ My new quest shall be to shorten the file paths ! * 👽 Remove Chokidar from dependencies * 👽 Remove chokidar from dependencies!
9 lines
233 B
JavaScript
9 lines
233 B
JavaScript
const Gun = require('../..');
|
|
const gun = Gun();
|
|
|
|
gun.get('hub').on(data => {
|
|
console.log(data)
|
|
})
|
|
|
|
const hub = require('../../lib/hub');
|
|
hub.watch(__dirname, {msg: true, hubignore: true, alias:require('os').userInfo().username}) |