Giter Site home page Giter Site logo

[Fix] - 2 watchers simultaneously about bldr HOT 12 OPEN

bldr-io avatar bldr-io commented on July 28, 2024
[Fix] - 2 watchers simultaneously

from bldr.

Comments (12)

aequasi avatar aequasi commented on July 28, 2024

hmm... I could move the task and profile configs under the src arrays. Thoughts?

from bldr.

aequasi avatar aequasi commented on July 28, 2024

Otherwise, right now, you could have two processes running.

from bldr.

Padam87 avatar Padam87 commented on July 28, 2024

Just took a look at the Watch extension... that could be great. Another idea would be react, but the first is simpler :)

For now, I will use assetic with the built-in --watch param.

from bldr.

aequasi avatar aequasi commented on July 28, 2024

Care to expand on React?

from bldr.

Padam87 avatar Padam87 commented on July 28, 2024

https://github.com/reactphp/react/blob/master/examples/child-process.php

Watch tasks could be ran in a non-blocking way, like in the example above, and the main loop could terminate as soon as one of the children does (most likely because of an error)

from bldr.

aequasi avatar aequasi commented on July 28, 2024

@Padam87 would this work? http://symfony.com/doc/current/components/process.html#running-processes-asynchronously

from bldr.

Padam87 avatar Padam87 commented on July 28, 2024

I think so. I did not know that the process component can do this as well :)

from bldr.

aequasi avatar aequasi commented on July 28, 2024

@Padam87 would you want to make a PR?

from bldr.

Padam87 avatar Padam87 commented on July 28, 2024

I will try to implement it, but first I want to replace ant on my project.

from bldr.

aequasi avatar aequasi commented on July 28, 2024

if you need help, feel free to add me on skype: aequasi

from bldr.

aequasi avatar aequasi commented on July 28, 2024

@Padam87 were you able to replace ant?

from bldr.

aequasi avatar aequasi commented on July 28, 2024

@Padam87 bump?

from bldr.

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.