Git Product home page Git Product logo

Comments (6)

ro-ka avatar ro-ka commented on May 30, 2024

Nice! Will test and update. Also switching to stylus to get rid of sass / ruby.

from hoodie-grunt-test.

ro-ka avatar ro-ka commented on May 30, 2024

I can read the file. API requests already get proxied to the hard coded hoodie port. But:

How to find out if hoodie started and wrote the file? The grunt-bg-shell (and similar plugins) have a callback function which gets executed when the shell command finished. hoodie keeps running so the callback doesn't get triggered.

Any ideas on how to trigger the "hoodie ready" event for grunt?

/cc @gr2m @janl @svnlto

from hoodie-grunt-test.

gr2m avatar gr2m commented on May 30, 2024

Another problem I see is that ask for a password on the first run. So we should wait with the following tasks until the stack.json file has been written or updated and eventually show the password prompt to the user

from hoodie-grunt-test.

janl avatar janl commented on May 30, 2024

The password issue can be solved with the requirement to run hoodie start solo at least once. I hope that is satisfactory.

from hoodie-grunt-test.

svnlto avatar svnlto commented on May 30, 2024

what @janl said.

from hoodie-grunt-test.

ro-ka avatar ro-ka commented on May 30, 2024

Updated this test repository. I Wrote a grunt-hoodie plugin that starts hoodie and checks for the stack.json. As soon as the stack.json is present the plugin triggers a callback which then sets the correct port in the Gruntfile.

Currently there is no output of hoodie visible (except when there is an error) and the hoodie child process does not get terminated when the Grunt task exits because of an error. Will open issues at grunt-hoodie for that.

As this issue is about the proxy which just got resolved, I'll close it.

from hoodie-grunt-test.

Related Issues (1)

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.