Remy Sharp
3b44f669ff
chore: merge
...
Merge branch 'patch-2' of https://github.com/pensierinmusica/nodemon into pensierinmusica-patch-2
2015-10-25 07:12:35 +00:00
Remy Sharp
68cbf47d6a
chore: merge branch
...
Merge branch 'fix-watch-init-restarts' of https://github.com/faergeek/nodemon into faergeek-fix-watch-init-restarts
2015-10-25 07:12:02 +00:00
Sergey Slipchenko
7e7dc0402e
Save readiness state on a per-watcher basis
2015-10-22 22:24:06 +03:00
Matt Lyons
f62c0d55ee
refactor: remove deprecated util.error
...
Replace with console.error
Replace util.log with console.log to be consistent with _log
2015-10-21 23:34:39 -07:00
Alessandro Zanardi
4c195df510
fix: JSON extension not watched when "scriptExt" is defined
...
Fix a bug that caused ".json" files to not be watched by default.
closes #643
2015-10-20 15:38:50 +02:00
Remy Sharp
e6708d220c
Merge pull request #693 from pensierinmusica/patch-1
...
fix: JSON extension not watched outside of coffeescript
2015-10-20 06:55:25 +01:00
Alessandro Zanardi
ceb1515ec0
fix: JSON extension not watched outside of coffeescript
...
Fix a bug that caused `.json` file to not be watched outside of a coffeescript environment,
and improves the extension formatting regex.
Closes #643
2015-10-19 19:17:49 +02:00
Remy Sharp
2f19ffb5a7
fix: restart on new files added to watched dir
...
Fixes #664
Also includes tests and quietens the force crash test (though unchanged).
2015-10-19 12:34:38 +01:00
Remy Sharp
931d50050d
fix: rs to restart
...
Always unhook the process.stdin when the child has exited, this allows the `rs` command to be read - otherwise it's ignored.
Fixes #648
2015-09-23 08:34:38 +01:00
Remy Sharp
725a409c69
refactor: allow dev use of nodemon to show githash
...
Rather than an arbitrary version string - this will only happen when cloned from git, rather than an npm install. This is entirely for debugging.
2015-09-21 14:24:39 +01:00
Alessandro Zanardi
cd4201afa6
feat: add JSON to default watched extensions
...
Since in a server environment JSON files often contain settings,
nodemon should restart by default when the content of a JSON file is changed.
Closes #643
2015-09-21 11:25:17 +01:00
Remy Sharp
6a5397e166
fix: allows user to not watch
...
Fixes #516
2015-09-21 11:24:16 +01:00
Remy Sharp
8af4b4bc81
fix: make control over ignoreRoot easier
...
And add documentation and tests
2015-09-21 10:23:19 +01:00
Remy Sharp
d817866eab
fix: stdin was closed after crashed child
...
Fixes #601
2015-09-19 16:15:03 +01:00
Remy Sharp
a3c9356de7
chore: Merge branch 'feature/better-error-on-watch-bork'
2015-09-19 10:47:37 +01:00
Remy Sharp
d98301d436
chore: Merge branch 'feature/legacy-polling-mode'
...
Conflicts:
test/cli/parse.test.js
2015-09-19 10:43:08 +01:00
Remy Sharp
2e80f9bef7
chore: Merge branch 'master' into feature/better-error-on-watch-bork
2015-09-19 10:29:38 +01:00
Remy Sharp
f4b12476e1
chore: Merge branch 'master' into feature/disable-colour
2015-09-19 10:29:08 +01:00
Remy Sharp
03ef996d29
chore: Merge branch 'fix/package-start-with-env'
2015-09-19 10:25:50 +01:00
Remy Sharp
a5ab2354ec
chore: better handle errors from chokidar
2015-09-19 08:50:15 +01:00
Remy Sharp
489f22dc93
fix: restore --legacy-watch
...
Pass the `usePolling` flag to Chokidar when in legacy mode, which is supposed to/hopefully fix containers watching network attached drives.
Fixes #639
Fixes #633
2015-09-19 08:20:39 +01:00
Kevin Woo
4826c87744
fix: ignore dotfiles only if not explicitly told to do so
2015-09-15 21:49:40 -07:00
Kevin Woo
cde21fb4de
test: added dotfile tests
2015-09-15 21:46:36 -07:00
Remy Sharp
5e07bfef85
fix: supporting env values in package.start
...
Before it was trying to parse the value in .start, when in fact, the entire value represents the `cmd`.
Fixes #621
Fixes #615
Fixes #577
Fixes #513
2015-09-12 22:51:02 +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
15b0b88d0f
feat: merge ignore rules with defaults
...
And allow the user to override the defaults from their config
2015-09-12 11:34:28 +01:00
Remy Sharp
7250919e6d
fix: restore file count in verbose mode
2015-09-12 11:34:20 +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
Remy Sharp
f7a94768f6
refactor: add debugging
2015-09-10 10:38:32 +01:00
Remy Sharp
438b8d7c0e
refactor: passing jscs
2015-09-09 22:30:43 +01:00
Remy Sharp
ebbe1edb8d
fix: protect from missing options
2015-09-09 22:30:43 +01:00
Remy Sharp
7496f08330
fix: incorrectly exiting when required
...
test: updated travis tests
2015-09-09 22:29:26 +01:00
Remy Sharp
b0fd56f7de
refactor: move watch out in favour of chokidar
...
Plus jscs clean ups
2015-08-31 18:25:55 +01:00
Remy Sharp
e177dd7865
Merge pull request #578 from khoomeister/ck-disable-startup
...
add option --no-startup to not run command on startup
2015-07-27 21:44:05 +01:00
Zolmeister
e89786388c
monitor: always exit, fixes #592
2015-07-26 00:57:13 -07:00
Chris Khoo
50f5994ee6
change --no-startup to --on-change-only
2015-07-20 18:40:45 -07:00
Remy Sharp
4de7033898
Merge pull request #585 from halt-hammerzeit/fix_watch_interval
...
Fixes watch interval
2015-07-20 21:35:27 +01:00
Nikolay Kuchumov
8eefdd0d00
Fixes watch interval
2015-07-11 20:06:54 +03:00
Chris Khoo
db196733b7
add option --no-startup to not run command on startup
2015-07-05 16:19:11 -07:00
Matan Shukry
abd3e27a24
Added closeSync() to trigger watch
2015-06-13 20:14:57 +03:00
Remy Sharp
01bc4d0ba1
Merge pull request #515 from STRML/fixQuit
...
Fix nodemon.json's 'quit' listener and add test.
2015-05-19 13:28:22 +01:00
Remy Sharp
9254e470ce
Merge pull request #534 from janders223/bug-509
...
spawn: Change node version checking logic
2015-05-19 13:15:02 +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
Doug Patti
a71db72ece
when running a coffee file, use --nodejs correctly
...
Previously, the --nodejs flag was being prepended if you had any
arguments prefixed with '--', even if they were intended for your
application. There is an additional problem where arguments intended for
node js need to be grouped into a single argument passed after --nodejs.
After this patch, any flag before your script is considered a nodejs
argument. These, along with any other exec arguments are bundled into a
single argument separated by spaces.
Fixes #530
2015-04-22 13:42:52 -04:00
Jim Anders
22aa5146f3
spawn: Change node version checking logic
...
This change allows nodemon to properly work with all versions of io.js.
This fixes #509
2015-04-16 09:32:45 -04:00
Samuel Reed
15751fe432
Fix nodemon.json's 'quit' listener and add test.
2015-03-02 18:44:21 +07:00
Remy Sharp
47896d9254
Fix the pattern match for windows escaping
...
Fixes #497
2015-02-11 15:04:31 +00:00
Remy Sharp
d984c473a2
Merge pull request #502 from remy/fix/node-0-12
...
Fixed #499 [skip ci]
2015-02-11 12:32:17 +00:00
Remy Sharp
10ed83ea21
Fixed #499
...
`rs` now works again on windows when app has crashed.
2015-02-11 12:16:16 +00:00
Remy Sharp
2445e0ea48
Merge pull request #501 from remy/fix/352
...
Fix #352 [skip ci]
2015-02-11 10:02:02 +00:00