-
Notifications
You must be signed in to change notification settings - Fork 16
Notifying using Nodemon #7
Copy link
Copy link
Open
Description
I'm trying to add node-notifier-cli in development build script, however as a script, it does not work:
package.json
{
"scripts": {
"notify": "notify -t \"Development\" -m \"Build complete.\""
}
}
nodemon.json
Does not work
{
"events": {
"restart": "npm run build && npm run notify"
}
}
Works
{
"events": {
"restart": "npm run build && osascript -e 'display notification \"app restarted\" with title \"nodemon\"'"
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels