Commit Graph

1059 Commits

Author SHA1 Message Date
Remy Sharp
5ce716c866 fix: if first run, show message 2018-05-05 20:04:38 +01:00
Remy Sharp
66943b8419 fix: support SUPPRESS_SUPPORT 2018-05-05 09:47:44 +01:00
Remy Sharp
61cd1d082b fix: show request for help once a week/install 2018-05-02 21:22:48 +01:00
Remy Sharp
aa18c806b3 fix: don't throw when required in the repl
Fixes #1292
v1.17.3
2018-03-31 08:40:08 +01:00
Remy Sharp
89d6062c68 fix: prevent throw when args missing (#1288)
Fixes #1286
v1.17.2
2018-03-13 21:46:20 +00:00
Remy Sharp
372e6b23fc fix: watch count regression (#1287)
* chore: revert package
* fix: move to array of watched dirs

Instead of individually listing them.

Fixes #1283
2018-03-13 21:45:50 +00:00
Remy Sharp
8637e52dd1 chore: merge branch 'master'
[skip ci]

* 'master' of github.com:remy/nodemon:
  chore: update issue template
2018-03-07 10:03:32 +00:00
Remy Sharp
41f0d421aa chore: update issue template
[skip ci]
2018-03-03 11:43:38 +00:00
Remy Sharp
e16f2fecf6 chore: revert package
[skip ci]
2018-03-03 10:22:22 +00:00
Remy Sharp
85ed19d69a fix: throwing exeception on run
Fixes #1276

Due to const being used.
v1.17.1
2018-02-27 17:34:28 +00:00
Remy Sharp
7fb365d0cc feat: try to resolve exec in node_modules/.bin (#1275)
Fixes #1268
v1.17.0
2018-02-27 16:44:14 +00:00
Remy Sharp
7ffd5454ed fix: windows exec resolution (#1274)
Fixes #1251
v1.16.1
2018-02-27 16:43:20 +00:00
Remy Sharp
0f39b2e349 fix: make it possible for windows to checkout (#1270)
Fixes #1255
2018-02-27 16:43:09 +00:00
Remy Sharp
94b526f80a fix: put windows drive letter tweak in right place (#1272)
Fixes #1263
v1.16.0
2018-02-27 16:42:51 +00:00
Remy Sharp
e41f3c3aad feat: feed args to exec when detecting script (#1273)
Fixes #1263

The way it works:

- If the script is detected via index.js from the directory, or from the
package, then all the arguments on the CLI are shifted to execArgs

- If there was a double-dash on the CLI args, then only those before the
double-dash are given to execArgs and the rest remain passed to the
script
2018-02-27 16:42:32 +00:00
Remy Sharp
f4391d4ff1 fix: make clear where more opts are in help (#1271) 2018-02-27 16:42:20 +00:00
Remy Sharp
1cda8fae43 fix: ensure directories are watched, not files (#1260)
Fixes #1259
v1.15.1
2018-02-19 16:49:55 +00:00
Remy Sharp
70cfb7dc23 chore: intentional bump of chokidar (#1257)
* docs: add sponsors

[skip ci]

* chore: intentional bump of chokidar

Fixes #1225
v1.15.0
2018-02-15 21:58:03 +00:00
Remy Sharp
88954455be fix: make watch & ignore relative (#1253)
* docs: add sponsors

[skip ci]

* fix: make watch & ignore relative

Fixes #1246

* fix: relative parent watching and ignore

* chore: lint

* test: fix bail on options
2018-02-15 21:57:47 +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
0e08ee267f chore: update stalebot
[skip ci] 

Reducing from 2 months to 2 weeks. I'm on top of issues now, and I don't want idle issues hanging around if there's no response.
2018-02-02 17:16:58 +00:00
Remy Sharp
913c34d15a docs: fix broken images
[skip ci]
2018-02-02 11:48:02 +00:00
Remy Sharp
2918e0ae3e chore: bumping github image cache
[skip ci]
2018-02-02 11:38:12 +00:00
Remy Sharp
85475b5b37 docs: typo
[skip ci]
2018-02-02 11:36:39 +00:00
Remy Sharp
b936f6ca9c docs: add mixmax sponsor ❤️
[skip ci]
2018-02-02 11:27:30 +00:00
Remy Sharp
33fa6f4970 fix: wrongly normalizing slashes in windows
This change takes code from npm's cli to change the way the arguments
passed to nodemon are interpreted.

Removes path.normalize and replaces with windowsVerbatimArguments

Fixes #1236
v1.14.12
2018-02-01 22:47:56 +00:00
Remy Sharp
4cfd0b9cf8 chore: fix lint warning 2018-02-01 22:47:41 +00:00
Remy Sharp
79e61f00e7 fix: sniff for child.stdout before using it
This fixes node@6.0.0, but it's a hack, so I'm going to emit a message
saying that non-LTS is not supported.
2018-02-01 22:47:41 +00:00
Remy Sharp
4f0562a22d chore: update oliver
[skip ci]
2018-02-01 18:58:26 +00:00
Remy Sharp
66e0d133f5 chore: tweak oliver 2018-01-21 22:49:16 +00:00
Remy Sharp
c9d8cd3bdd chore: add oliver twist bot
[skip ci]
2018-01-12 17:12:20 +00:00
Remy Sharp
4be493ca0d fix: don't ignore dot-directories
Fixes #1223
v1.14.11
2018-01-11 11:00:46 +00:00
Remy Sharp
60d1add20b docs: add context to fences 2018-01-11 11:00:35 +00:00
Remy Sharp
9d498523d7 fix: update deps - chokidar@2.0.0 in particular 2018-01-11 11:00:35 +00:00
Remy Sharp
e90f15aa8a fix: node < 6.4.0 causing crash on 'rs' trigger
* fix: node < 6.4.0 can't connect to stdin
* fix: child stdio when spawn is similar to fork

Fixes #1218
v1.14.10
2018-01-09 13:18:08 +00:00
Remy Sharp
e95ea6f656 fix: ignorePermissionErrors in chokidar
Make any permission errors silent, since it the most likely case we don't need them at all.

Fixes: #1213
v1.14.9
2018-01-08 12:35:06 +00:00
Remy Sharp
c121187611 refactor: indexOf > includes (in node4) 2018-01-08 12:33:51 +00:00
Remy Sharp
8cec0fc0c7 chore: fix linting issue 2018-01-08 12:33:51 +00:00
Remy Sharp
718a9ad2e2 fix: correctly pass ignored rules to chokidar
Previous the rules weren't matching fully inside of chokidar, requiring
that, for instance, node_modules is written as **/node_modules/**.

I've also tidied up what's printed in verbose mode, so it doesn't print
default ignores, and doesn't print the full path of an ignored
directory.

This change _also_ fixes notifications from chokidar from user ignored
paths (using the `cwd` argument). This should fix #1202
2018-01-08 12:33:51 +00:00
Remy Sharp
64a82ff81a fix: fail gracefully if postinstall fails v1.14.8 2018-01-06 09:35:25 +00:00
Remy Sharp
2582d960be fix: clarify which config files are actually used
Fixes #1204
2018-01-06 09:35:16 +00:00
Remy Sharp
8cb26bfe25 refactor: small tweaks to ES6-ish 2018-01-06 09:35:16 +00:00
Remy Sharp
6e7ce4bbe2 fix: swallow child.stdin err
This is a weird case where stdin isn't fully connected and throws in
ubuntu 16.04 (replicated in a Docker image).

Fixes #1195
v1.14.7
2017-12-31 19:47:16 +00:00
Josef Brandl
d78bf3d5d1 fix: watch both js and mjs files if main file is JavaScript v1.14.6 2017-12-29 16:51:17 +00:00
Remy Sharp
0d9a89241c fix: don't use fork with node inspect
Fixes: #1191
v1.14.5
2017-12-29 11:07:04 +00:00
Remy Sharp
de66c6bcea refactor: fix scoping issue in node@4 v1.14.4 2017-12-29 10:55:12 +00:00
Remy Sharp
5a914cb35b fix: handle exit(2) better 2017-12-29 10:55:12 +00:00
Remy Sharp
6333fa5a4c chore: fix linting 2017-12-29 10:55:12 +00:00
Remy Sharp
6e839d4a33 fix: support implicit filename extension
Fixes #1193
2017-12-29 10:55:12 +00:00
Remy Sharp
48048aaf12 fix: properly handle --no-update-notifier 2017-12-29 10:54:59 +00:00