Giter Site home page Giter Site logo

Comments (2)

Sud-Puth avatar Sud-Puth commented on August 21, 2024

@JBX028 I don't have the correct answer to this but I can try to answer it for you. If someone has a better answer please do so.

There is no best practice to leave the script as of now. The bb8.disconnect , disconnects the current connection, also I am assuming this just disconnects the bb8 from the current connection but it will not 'upair' the bb8 or rather it will not put the bb8 to permanent sleep.Look at #17 .
Also about process.exit() , that command works when you only send in the action commands like for example, node index.js tweet --hash-tag="bb8" --delay=5000 but when the same is given in commands when the express server is running , for example , node index.js express --port=4000 and then pass the parameters for the command, then it will exit the express process rather than just the script plugin.
Hope this made some sense.

P.S. I have a W.I.P that is kind of taking into account some of this issues that I haven't checked in yet but life is taking precedence

from bb8-commander.

JBX028 avatar JBX028 commented on August 21, 2024

Thanks a lot for your answer. I will perhaps just keep process.exit() then
in order to avoid to unpair the bb8. Again it require more testing.
In any case, thanks for this project !

2016-04-07 4:30 GMT+02:00 Sudheer Reddy [email protected]:

@JBX028 https://github.com/JBX028 I don't have the correct answer to
this but I can try to answer it for you. If someone has a better answer
please do so.

There is no best practice to leave the script as of now. The
bb8.disconnect , disconnects the current connection, also I am assuming
this just disconnects the bb8 from the current connection but it will not
'upair' the bb8 or rather it will not put the bb8 to permanent sleep.Look
at #17 #17 .
Also about process.exit() , that command works when you only send in the
action commands like for example, node index.js tweet --hash-tag="bb8"
--delay=5000 but when the same is given in commands when the express
server is running , for example , node index.js express --port=4000 and
then pass the parameters for the command, then it will exit the express
process rather than just the script plugin.
Hope this made some sense.

P.S: I have a W.I.P that is kind of taking into account some of this
issues that I haven't checked in yet but life is taking precedence


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#18 (comment)

from bb8-commander.

Related Issues (18)

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.