10 Commits

Author SHA1 Message Date
Remy Sharp
7496f08330 fix: incorrectly exiting when required
test: updated travis tests
2015-09-09 22:29:26 +01:00
Doug Patti
56c4caf2ed pull command stringification into a utility
This was copied and pasted more than a handful of times around the
library and tests. Some implementations were more naive and did not
try to add quotes if there are spaces within a single argument.

There is one slight oddity in one of the cli parse tests. Stringifying
the command causes many of the arguments to show up in quotes when they
probably shouldn't. This seems to trace back to a deep problem related
to how commands are pulled out of package.scripts.start and is out of
scope for this patch. Even though the test might look incorrect now, it
is an accurate reflection of what the generated command is.
2015-04-22 13:42:55 -04:00
Remy Sharp
1bb7c01fb6 Check of object hasOwnProp method 2015-01-18 10:48:18 +00:00
Remy Sharp
2367a26fdd This test is for 0.10+ 2015-01-18 10:21:50 +00:00
Remy Sharp
c9b6d989ea No event nodemon support for 0.8 2015-01-16 22:56:05 +00:00
Remy Sharp
1f002f61d3 Blinking nodemon.json file was missing from git! 2015-01-16 21:56:49 +00:00
Remy Sharp
fa7826a2ac Fixed event binding to nodemon not bus 2015-01-16 17:36:25 +00:00
Remy Sharp
2647156034 Diagnosing Travis error (VM) 2015-01-16 13:47:20 +00:00
Remy Sharp
6f6d7ae496 Early support for event callbacks
Allows user to have event handlers in the nodemon config, such as:

{
  "events": {
    "crash": "say 'your app crashed'",
    "start": "echo 'App started' | tee app.log"
  }
}
2014-12-09 22:56:02 +00:00
Remy Sharp
818594c902 WIP 2014-12-09 22:27:03 +00:00