Coder Social home page Coder Social logo

ember-cli-build-notifications's People

Contributors

bennycwong avatar dependabot[bot] avatar ember-tomster avatar jfreemanactivecampaign avatar pdud avatar stefanpenner avatar tchak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

ember-cli-build-notifications's Issues

Notify when app finishes reloading

Thank you for the wonderful addon! Let me describe my use case. I believe, it's typical for most Ember coders.

When I edit the code and save, I want to know when my app livereloads and finishes loading routes, so that I can open the tab and inspect the result.

The time the app takes to reload is not enough to do something productive (switching contexts is expensive), but enough to be bored to death, especially when you code in short cycles. So I often switch to Twitter or funny cat pics while the app is building and reloading. It also helps depressurize the brain.

The problem here is that I keep relaxing after the app finishes loading and it takes me a while to realize I'm distracted. I need a notification that would tell me that I can get back to work. The buildSuccess notification doesn't help, because after a successful build a large app still takes a lot of time to reload.

I'm sure I'm not the only Ember developer having this problem.

I'm not sure how this can be approached, and it's probably out of scope of the addon. But as this addon provides access to notifications, I post this feature request here.

Probably we need to run a dev server, similar to livereload or code coverage reporting. The server has to be poked when all routes have finished their afterModel hooks, or something like that. Let's discuss possible implementations.

Prevent notifications from going to into history (like osx notification center) by default

Howdy! I know, at least for growl and osx, that a user can configure whether the notifications should be kept in the history. I'm wondering if there is a way for the tool to say that it should not keep this in the history preemptively. I'm proposing this addon be part of the default ember install but the notification center noise is kind of a blocker.

I did some digging around node-notifier to find an answer but I'm not sure if the apis expose this ability. Have you looked into this?

ember-cli-babel 5.x is deprecated

DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: ember-cli-build-notifications -> ember-cli-babel

Test support?

Does this also work w/ the testing setup in ember-cli? ie- will it show you a failure for unit or acceptance tests?

If so -what do I need to add to get this working w/ the test setup?

Cannot read property 'addListener' of undefined

I get the following when doing ember s

TypeError: Cannot read property 'addListener' of undefined
    at Object.exports.execFile (child_process.js:788:15)
    at Object.exports.exec (child_process.js:649:18)
    at Object.module.exports.command (/Users/moogs/Dropbox/Development/app/node_modules/ember-cli-buil
d-notifications/node_modules/node-notifier/lib/utils.js:45:13)
    at NotificationCenter.notify (/Users/moogs/Dropbox/Development/app/node_modules/ember-cli-build-no
tifications/node_modules/node-notifier/notifiers/notificationcenter.js:62:11)
    at Class.module.exports.buildError (/Users/moogs/Dropbox/Development/app/node_modules/ember-cli-bu
ild-notifications/index.js:11:14)
    at /Users/moogs/Dropbox/Development/app/node_modules/ember-cli/lib/models/builder.js:122:34
    at Array.map (native)
    at Class.module.exports.Task.extend.processAddonBuildSteps (/Users/moogs/Dropbox/Development/app/n
ode_modules/ember-cli/lib/models/builder.js:120:43)
    at Class.<anonymous> (/Users/moogs/Dropbox/Development/app/node_modules/ember-cli/lib/models/build
er.js:149:14)
    at lib$rsvp$$internal$$tryCatch (/Users/moogs/Dropbox/Development/app/node_modules/ember-cli/node_
modules/rsvp/dist/rsvp.js:489:16)
    at lib$rsvp$$internal$$invokeCallback (/Users/moogs/Dropbox/Development/app/node_modules/ember-cli
/node_modules/rsvp/dist/rsvp.js:501:17)
    at lib$rsvp$$internal$$publish (/Users/moogs/Dropbox/Development/app/node_modules/ember-cli/node_m
odules/rsvp/dist/rsvp.js:472:11)
    at lib$rsvp$$internal$$publishRejection (/Users/moogs/Dropbox/Development/app/node_modules/ember-c
li/node_modules/rsvp/dist/rsvp.js:415:7)
    at lib$rsvp$asap$$flush (/Users/moogs/Dropbox/Development/app/node_modules/ember-cli/node_modules/
rsvp/dist/rsvp.js:1290:9)
    at process._tickCallback (node.js:355:11)
events.js:85
      throw er; // Unhandled 'error' event
            ^
Error: spawn /bin/sh EMFILE
    at exports._errnoException (util.js:746:11)
    at Process.ChildProcess._handle.onexit (child_process.js:1053:32)
    at child_process.js:1144:20
    at process._tickCallback (node.js:355:11)

Getting `NaNms` when upgrading to latest ember (2.10.1)

Hi! Great tool! Love it!

I just upgraded an app to ember 2.10.1 and I am now getting some funny business in my notifications.

It looks like:
nan-ember-cli-build-notifications

I suspect this is because the build are so fast now from 2.10.1 that it cannot even be measured.

Let me know if there is anything I can do to help!

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.