51 Commits

Author SHA1 Message Date
Remy Sharp
9d1afd7694 docs: add syntax highlighting to sample-nodemon.md (#1982) (#2004)
[skip ci]

Co-authored-by: Chris Calo <chris.calo@gmail.com>
2022-04-29 11:07:43 +01:00
Concision
9bd07eb5b0 docs: changed verbose logging and CLI documentation to reflect support single file watch functionality 2020-01-22 16:07:18 +00:00
Aurélio A. Heckert
7d6c1a88a1 fix: Replace jade references by pug
close #1595
2019-10-15 19:27:50 -04:00
Mehdi El Fadil
b8ff6b42e4 docs: update help.txt (#1401)
Small update so that `nodemon -h` mentions that `.json` files are now watched by default (this is the case since v1.7.0 -  #643)

P.S.: one remark: the change fixing #643 may have been considered as a breaking change, and reflected by bumping major version number. Updating some apps to nodemon v1.7.0+ require adaptation of the config...
P.P.S. Thanks for creating nodemon, super useful piece of software.
2018-08-11 11:40:38 +01:00
Remy Sharp
9d1a63c6a6 fix: allow watching relative path files (#1385)
Fixes #1355
2018-07-10 18:39:53 +01:00
acceptable
a724e538ac docs: more docs for nodemon as child process (#1362)
I was trying to find out how to use nodemon as child process, and stumble upon this https://github.com/remy/nodemon/issues/1018

So adding more docs for other people later to make it clearer how to do it.

[skip ci]
2018-06-14 11:28:47 +01:00
Remy Sharp
6925494fbd docs: use consistent ext example
[skip ci]

Ref #1306
2018-04-04 09:15:08 +01:00
Remy Sharp
f4391d4ff1 fix: make clear where more opts are in help (#1271) 2018-02-27 16:42:20 +00:00
Remy Sharp
5e88b04eaa feat: add support for --spawn (#1249)
* docs: add sponsors

[skip ci]

* feat: add support for `--spawn`

Fixes #1245

* docs: remove "simply"
2018-02-15 21:57:30 +00:00
Remy Sharp
8cb26bfe25 refactor: small tweaks to ES6-ish 2018-01-06 09:35:16 +00:00
Remy Sharp
c63771726c fix: expose no update flag 2017-12-29 10:54:59 +00:00
Remy Sharp
fa64cdcc8a docs: reduce CLI output and add --help options
Also restore missing -L CLI options.

Fixes #1160
2017-12-13 21:55:13 +00:00
Remy Sharp
2e1b496fa3 fix: reduce help output (a teeny bit) 2017-12-04 22:27:16 +00:00
Jay Beavers
5a89df6471 fix: Support for .mjs es6 modules (#1138) 2017-12-04 14:55:16 +00:00
Aalex Gabi
9b6c786fd1 fix: sync help.txt to available options 2017-12-04 14:54:36 +00:00
Rich Hodgkins
fb5da380c8 feat: nodemonConfig support in package.json
* feat: support using ‘nodemonConfig’ in package.json

Implements loading configuration options from the `nodemonConfig` value in the package.json, nodemon.json is still preferred before looking at the new option.
Also includes tests.

Closes #873

* docs: update for using ‘nodemonConfig’ in package.json

Add to both the README and `nodemon --help config`.

#1028
2017-09-04 20:26:17 +01:00
Jonathan R Wickens
f6eff97b87 docs: process.exit() hint (#976)
I kept getting this annoying problem after following this tutorial which is best described in this gulp thread. https://github.com/JacksonGariety/gulp-nodemon/issues/77. I'm not using gulp but the problem is the same. By adding process.exit() on nodemon quit the problem goes away smoothly.

Maybe add this process.exit() hint in the docs here?
2017-09-04 19:34:30 +01:00
Kyle Smith
ee110add53 feat: support --config command line arg
Implement `--config <file>` option to allow config loading from an arbitrary file instead of being
bound to the static `$PWD/nodemon.json`.

Closes #755 
Closes #855
2016-07-25 22:01:45 +01:00
Gustaf Dalemar
9d82cd697c docs: Fixed a typo (#718)
[skip ci]
2016-05-28 22:32:20 +01:00
Remy Sharp
6e40e9adfd feat: support disabling colour output
via cli --no-color/--no-colour and via nodemon.json colours: false
2015-09-12 22:34:07 +01:00
Remy Sharp
d675c8be09 refactor: remove legacy watch support
Since we're now using chokidar which has it's own internal way of switching, so we don't need to do it ourselves.
2015-09-12 10:34:49 +01:00
Chris Khoo
50f5994ee6 change --no-startup to --on-change-only 2015-07-20 18:40:45 -07:00
Chris Khoo
db196733b7 add option --no-startup to not run command on startup 2015-07-05 16:19:11 -07:00
Remy Sharp
a294957329 Update some documentation
[skip ci]
2015-01-28 15:06:05 +00:00
Michal Srb
768d617821 Fix help doc string for watch 2015-01-19 15:26:03 +00:00
Julian Oates
853ec0506e updated help text grammar
"default" was repeated, "needed" didn't make sense
2014-12-17 17:22:59 +00:00
Remy Sharp
d97d92f65b Tweak output of tests to see what's failing 2014-12-05 22:44:40 +00:00
Remy Sharp
9ba51e04eb Update events.md
[skip ci]
2014-06-04 12:56:53 +01:00
Remy Sharp
0e43ff573e fixed typo
[skip ci]
2014-05-13 08:55:06 +01:00
Cole R Lawrence
1df0930e5b fix couple typos 2014-02-05 12:19:40 -06:00
Remy Sharp
43fa35a950 Include env example
[skip ci]
2014-01-19 16:56:29 +00:00
Remy Sharp
bfc4ac1c4d Required nodemon accepts env to pass to spawned process
See https://github.com/ChrisWren/grunt-nodemon/pull/29 for example/request
2014-01-15 14:07:36 +00:00
Remy Sharp
4ca35c6cff Docs about --. [skip ci] 2014-01-09 13:24:22 +00:00
Remy Sharp
c78bcb9faa Documentation of required nodemon 2014-01-05 22:59:23 +00:00
Remy Sharp
bdcf4478c2 nodemon without args and no package, show usage.txt 2014-01-03 18:39:56 +00:00
Remy Sharp
0a1a452da9 Documenting how the rules work 2014-01-03 14:22:15 +00:00
Remy Sharp
30a4a192f5 Docs and 1.0.0 release. Whoop whoop! 2013-12-29 22:50:02 +00:00
Remy Sharp
ab464021df 78 tests passing on mac. 2013-12-29 20:26:28 +00:00
Remy Sharp
5c7af6bfc4 More tests. 79% code coverage + more docs
- Events documented
- Require working nicely
- If nodemon is required, nodemon message are emitted rather than console.log'ged
2013-12-14 00:57:41 +00:00
Remy Sharp
6a574469fc restart is both a state and command 2013-12-13 10:45:59 +00:00
Remy Sharp
f5a568b2e9 Documenting the event system in nodemon for require & spawn 2013-12-13 10:42:26 +00:00
Remy Sharp
93ab2b06db Updating FAQ & authors 2013-12-10 12:50:54 +00:00
Remy Sharp
71d6f2d650 just because. 2013-12-06 10:08:56 +00:00
Remy Sharp
c503222f30 Refactoring.
* userScript => script
* simplified exec library
* removed dead code in config loading
* nodemon now knows when it's being required (and goes dark)
* etc...
2013-12-03 13:34:40 +00:00
Remy Sharp
d7c3647405 Using event bus for tests and requirable nodmeon
TODO: remove stdout inside tests
2013-11-25 01:04:52 +00:00
Remy Sharp
d25228c51d Beginning of more docs 2013-10-31 19:49:02 +00:00
Remy Sharp
d90fee7a4c Loading .json files, parsing cli & detailed output
- Loads $HOME/nodemon.json
- Then ./nodemon.json
- Then overwrites with cli (or module) settings
- -V gives detail of what's going on inside nodemon
- -q shuts nodemon up entirely
- Cleaner config loading breakup
2013-10-29 13:41:47 +00:00
Remy Sharp
84a461f713 Basic running and restarting working
Also config static module is used by the parts of nodemon to run the thing.

Ignore rules, on the command line also work - a nice new feature.
2013-08-25 09:32:45 +01:00
Remy Sharp
5d44ebb685 still in progress - lots of file laying out 2013-08-19 21:15:20 +01:00
Remy Sharp
56663f5ab4 Trying to simplify the chain of nodemon process
Making it so lib/cli/ can just spew out options, and make it easier to test against too.
2013-08-07 23:15:41 +01:00