Code Monkey home page Code Monkey logo

Comments (9)

abgonzalez93 avatar abgonzalez93 commented on June 10, 2024 1

I'm actually using WSL, so that might be a possible cause.
Anyway, I'm gonna try to reinstall build-essentials and search for information about WSL issues.
Ill let you know as soon as I know what's happening

from latitude.

abgonzalez93 avatar abgonzalez93 commented on June 10, 2024 1

I got to solve it.
I'm currently using WSL on my Windows 11.
I was connecting to WSL files vĂ­a VS Code (but using a plain directory URL) and somehow, as you said, that interfered with latitude's watchers.
I downloaded and configured WSL extension. Accessed to the project and now, running Ubuntu on VS Code terminal, changes are syncing perfectly.

https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-wsl

Hope this helps to others.

from latitude.

geclos avatar geclos commented on June 10, 2024

hey @abgonzalez93 it is indeed supposed to be reactive.

What Latitude CLI version and Latitude project version are you on?

  • latitude cli version: latitude --version
  • latitude project version: check latitude.json at the root of your project you'll see the version there

from latitude.

abgonzalez93 avatar abgonzalez93 commented on June 10, 2024

latitude cli version: latitude --version

imagen

latitude project version: check latitude.json at the root of your project you'll see the version there

imagen

from latitude.

geclos avatar geclos commented on June 10, 2024

@abgonzalez93 I'm not able to reproduce. Could you share a repo with the reproducible bug? Also try updating to latest CLI version, there's a bugfix related to CLI syncing that might be affecting you. npm update -g @latitude-data/cli

from latitude.

abgonzalez93 avatar abgonzalez93 commented on June 10, 2024

CLI is up to date.

Whenever I save a file after a change is done, I get those errors on console (but it's supposed to be a favicon missing error)
imagen

I've uploaded Netflix test project to my GitHub repo.
(.latitude folder is missing. Github doesnt upload it. I suppose doing latitude setup command you download it)
https://github.com/abgonzalez93/latitude-syncing-error.git

In either case, tell me whatever you need

from latitude.

geclos avatar geclos commented on June 10, 2024

yeah don't worry about the favicon issue, is just a warning that we need to take care but it does not cause any issue. Also it's normal that .latitude is not included in github 👌🏼

I will test it in a similar environment and come back to you.

from latitude.

geclos avatar geclos commented on June 10, 2024

hey @abgonzalez93 I'm not able to reproduce your issue with the repo you shared. My settings just so we are in sync:

  • ubuntu 22.04
  • latitude project v 0.11.0
  • latitude CLI version 0.8.2
  • node version 18

Some general recommendations that I've seen solving issues in other projects running in ubuntu:

  • run apt install -y build-essential xdg-utils. Usually these come preinstalled with ubuntu but might not be your case
  • increase the inotify watch limit. Guide here.
  • If you are using wsl, it has some known issues with file watching that might be interfering with latitude's watchers. But this is just an hypothesis, since I don't have a windows machine to test with.

Let me know if any of this helps

from latitude.

geclos avatar geclos commented on June 10, 2024

updated the docs accordingly 👌🏼

from latitude.

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.