-
Notifications
You must be signed in to change notification settings - Fork 12k
Automatic desktop notifications on build errors #134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I hadn't given much thought to this functionality but it seems to be useful and unobtrusive on the rest of the project. Plus since the cli is taking care of notifications, it's hard to sometimes know from within the editor wether or not the build is broken. So lgtm. Could you rebase on top of master? |
@filipesilva sure, rebased. |
This also looks pretty good, although instead of having the configuration values stored in a new config file, please add an attribute in the root object in package.json to store this information. I would suggest a name to match this repo/package Also I do not think it makes sense to have the audio notification turned on by default and it that'd make a good value to be pulled from the configuration. package.json
|
@Brocco yes, you are right, there's no need for additional config file. Will modify it later tonight and make a commit. |
I hadn't even noticed the sound, but I'm totally with @Brocco on this one. It would drive me crazy. |
@filipesilva haha. I made a commit as @Brocco suggested btw. |
@Brocco seems happy with it so I am happy to merge it. I noticed hansl was asking you on the other PR to squash the commits into one, and I forgot to ask you that myself. To keep the history tidy, may I suggest you name the single commit |
Done. Added name to commit as you suggested. |
Automatic desktop notifications on build errors
And it's in! Thanks @jkuri ! |
np, thank you. |
This PR will be reverted when we upgrade the broccoli files to the latest ones from angular/angular. If you want to add new features to the standard broccoli flow, do it in |
In angular#214, the main notification functionality was removed due to it being in a auto-generated file. This PR removes the remainder code that was left in from angular#134. The `angular-cli` property in generated `package.json` is left in since that was the place agreed for further configuration.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
I modified a TypeScript compiler to show notifications similar like grunt-notify.
This can come handy when developing an application.
Note that notifications are disabled by default and can be enabled in
config/angular-cli.json
file.