Code Monkey home page Code Monkey logo

Comments (3)

wolfgangmm avatar wolfgangmm commented on July 18, 2024

I think we would need to change the code which constructs the command line:

command += `-c ${collection} ${folder.uri.fsPath} -i ${sync.ignore.map(p => `"${p}"`).join(' ')}`;
to add quotes around the -c parameter.

from existdb-langserver.

joewiz avatar joewiz commented on July 18, 2024

@wolfgangmm I can confirm that by modifying that line in task-provider.ts to wrap ${folder.uri.fsPath} in double quotes fixes the problem. Here's sample output from the Build Task showing the quotes working - or so it appears to me.

> Executing task in folder airtable: node /Users/joe/workspace/existdb-langserver/sync/dist/sync.js -s http://localhost:8080/exist -u admin -p -c /db/apps/airtable "/Users/joe/Library/Mobile Documents/iCloudconoteplan~NotePlan/Documents/Notes/airtable" -i ".existdb.json" ".git/" "node_modules/" "bower_components/**" <

Watching /Users/joe/Library/Mobile Documents/iCloudconoteplan~NotePlan/Documents/Notes/airtable
Using fs events.

Can you confirm that this "Watching... Using fs events" is what you'd expect to see with the vscode plugin?

from existdb-langserver.

wolfgangmm avatar wolfgangmm commented on July 18, 2024

@joewiz yes, the output appears to be right.

from existdb-langserver.

Related Issues (16)

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.