Coder Social home page Coder Social logo

Comments (11)

Duhemm avatar Duhemm commented on May 14, 2024

I think that bloop -- compile -p root should work as a workaround.

from bloop.

leszekgruchala avatar leszekgruchala commented on May 14, 2024

That was quick! Thank you, helped.

from bloop.

Duhemm avatar Duhemm commented on May 14, 2024

Yes please! There are some issues with messages being lost between the server and the client, that could also be the cause. In that case, restarting the server usually helps.

You can also add --verbose to test to have bloop show the tests that it discovered.

from bloop.

jvican avatar jvican commented on May 14, 2024

What was the way we decided to solve this issue? Forwarding CLI arguments from the nailgun server to the underlying app?

from bloop.

olafurpg avatar olafurpg commented on May 14, 2024

I think I fixed this with alias bloop = ng bloop.Cli @jvican

from bloop.

jvican avatar jvican commented on May 14, 2024

I have the same alias and this problem still occurs in my machine. I'll fix this in a follow-up PR.

from bloop.

Duhemm avatar Duhemm commented on May 14, 2024

I have

alias bloop="~/.bloop/bloop-ng.py bloop.Cli --"

And commands such as

bloop run -p blabla --args arg0 --args arg1

work fine.

from bloop.

jvican avatar jvican commented on May 14, 2024

alias bloop="~/.bloop/bloop-ng.py bloop.Cli --"

The -- at the end does the trick. However, I wonder if we can fix this in a more fundamental way. I'd like to avoid the need of -- altogether.

from bloop.

jvican avatar jvican commented on May 14, 2024

python2 nailgun/pynailgun/ng.py compile -p frontend should work out of the box with #175. This is more intuitive because what the user can easily assume that the bloop CLI is the equivalent of running the python script python2 nailgun/pynailgun/ng.py, without any nailgun-specific implementation detail.

from bloop.

jvican avatar jvican commented on May 14, 2024

Note that, from now on, in case you want to modify one of the nailgun flags (port, server, filearg, show version), you will indeed need to use -- like python2 nailgun/pynailgun/ng.py --nailgun-port=1717 -- compile -p frontend (and this, knowing how CLI parsers work, is intuitive).

But the cool thing with #175 is that it won't require you to add -- for the simplest and most likely use cases.

from bloop.

jvican avatar jvican commented on May 14, 2024

This is already fixed, thanks to all who chimed in. 🎉

from bloop.

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.