Giter VIP home page Giter VIP logo

Comments (2)

trevorlinton avatar trevorlinton commented on July 28, 2024

This is a limitation of node, node does not integrate with the cf loop for application contexts in OSX. Therefore you'll be able to get the callback "applicationDidFinishLaunching" but any scheduled timeouts, node i/o, or anything else won't work.

There's already an existing feature request for it: #2

Also, there's tint which is a modified version of node that included nodobjc and integrates the app loop here: https://github.com/trueinteractions/tint2/

from nodobjc.

Tarang avatar Tarang commented on July 28, 2024

Oh I see. Quite unorthodox but as long as it does the job thats cool.

I suspected something was wrong when the code above didn't work & thought the event loop was the cause. The expected behaviour is to see Hello World in the notification bar.

Have there been any other changes where the snippet above wouldn't work on Yosemite that I would need to change?

from nodobjc.

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.