Comments (5)
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.
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.
I think we can probably support both cases... I'll revisit this once the modernization effort is through
from sicksync.
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.
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)
- Adding a dir that's excluded fires adddir event HOT 1
- File deletion errors HOT 2
- Have a command executed on remote after sync? HOT 3
- Issues when running multiple sicksync instances HOT 3
- deleted files cause connection termination HOT 1
- Store config in project dir HOT 1
- Allow add/create-only mode - prevent deletion on server
- Not working on Windows again - it tried to sync files from root
- debounce? HOT 1
- Seeing a lot of .gitignore file changes HOT 2
- Lost connection
- deleted files causing issues HOT 1
- Allow syncing without defining projects HOT 3
- An option to disable rsync
- update command failed on EPERM HOT 5
- Refactor config HOT 1
- Operations should be queued in case of reconnection? HOT 1
- windows compatible paths
- Move to `jest`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sicksync.