Coder Social home page Coder Social logo

Comments (5)

joelgriffith avatar joelgriffith commented on May 20, 2024

So you can actually run two projects simultaneously with sicksync start project1 project2 project3. They all make use of the same underlying WS client, I'll try and document this somewhere more upfront.

from sicksync.

laggingreflex avatar laggingreflex commented on May 20, 2024

I haven't tested this yet, but do you mean that syntax actually makes it work? As opposed to doing sicksync start project1, sicksync start project2, sicksync start project3 all separately and independently?

If so, independence would still be preferable IMO. Sometimes I like to start and stop one sync job while another one keeps running in the background.

from sicksync.

joelgriffith avatar joelgriffith commented on May 20, 2024

I think we can probably support both cases... I'll revisit this once the modernization effort is through

from sicksync.

laggingreflex avatar laggingreflex commented on May 20, 2024

This is still an issue. I haven't yet tried the syntax you suggested: sicksync start project1 project2, I'll try to later, but this is definitely an issue when starting projects separately.

And I think starting projects separately should be given more importance, because otherwise you can't start syncing others projects without messing up previously running syncs, or you'd have to start them all again, if I'm understand it correctly.

Separate ports might actually be a requirement in that case, as there are going to be separate processes. Although I'm not sure.

In the meantime I'm manually making ports different to make my use case work.

from sicksync.

laggingreflex avatar laggingreflex commented on May 20, 2024

I've tried the single command syntax now: sicksync start project1 project2

It has problem as I suspected. After starting syncs for two projects this way, and changing a file in one of the projects gets mistaken for that filename in the other project, giving the error like ENOENT: no such file C:\proj-1\file-from-proj-2 because the corresponding file doesn't exist.

So it seems they do need to be in separate ports?

from sicksync.

Related Issues (20)

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.