Code Monkey home page Code Monkey logo

bisync's People

Contributors

jonlevin25 avatar selsamman avatar

Watchers

 avatar

Forkers

jonlevin25

bisync's Issues

Change events received, file not synced

Hey,
I was just about to make something like this and saw you recently did :)

System: Windows 10 x64
Node v18.14.0

My use case is much simpler than a monorepo: sync a bunch of config files to a single git repo.

Usage:
(in other ode proj): npm i -D bisync, npx bisync install, npx bisync watch ./bisync.json, npx bisync start.

bisync.json:

[
  ["./test.txt", "D:/test/test.txt"]
]

This is what I got in the log:

2023-02-17 23:02:44.721: socket.io waiting for connection 
2023-02-17 23:02:44.722: Daemon Started 
2023-02-17 23:02:45.179: socket.io connected 
2023-02-17 23:02:45.187: Request to update 
2023-02-17 23:02:45.188: Setting configuration files ...\bisync.json 
2023-02-17 23:02:45.188: adding config [["C:...\\test.txt","D:/test/test.txt"]] 
2023-02-17 23:02:45.191: ["C:...\\test.txt","D:/test/test.txt","C:...\\bisync.json"] 
2023-02-17 23:02:45.192: add C:...\test.txt 
2023-02-17 23:02:45.193: add D:\test\test.txt 
2023-02-17 23:02:45.193: add C:...\bisync.json 
2023-02-17 23:02:45.195: Daemon responded OK: Daemon running 
2023-02-17 23:02:59.648: change C:...\test.txt 
2023-02-17 23:02:10.116: change D:\test\test.txt 

Status

PS C:...> npx bisync status 
Daemon running
These configuration files are in effect:
 - C:...\bisync.json
Current log file: C:...\bisync.log

Changes are recognized when I edit either of the bisynced files, but bisync doesn't actually replace any...
Both files existed in advance when I started bisync.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.