From 676a920a4c526f11efb06d0281e038e88b2cc5a5 Mon Sep 17 00:00:00 2001 From: Kyle Robinson Young Date: Mon, 5 Aug 2013 12:52:09 -0700 Subject: [PATCH] Update readme --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 65cb099..6534a48 100644 --- a/README.md +++ b/README.md @@ -237,7 +237,7 @@ grunt.initConfig({ files: ['lib/*.js'], tasks: ['jshint'], options: { - nospawn: true, + spawn: false, }, }, }, @@ -252,7 +252,7 @@ grunt.event.on('watch', function(action, filepath) { }); ``` -If you need to dynamically modify your config, the `nospawn` option must be enabled to keep the watch running under the same context. +If you need to dynamically modify your config, the `spawn` option must be disabled to keep the watch running under the same context. If you save multiple files simultaneously you may opt for a more robust method: @@ -396,7 +396,7 @@ The goal of this watch task is as files are changed, run tasks as if they were t Sandboxing task runs also allows this watch task to run more stable over long periods of time. As well as more efficiently with more complex tasks and file structures. -Spawning does cause a performance hit (usually 500ms for most environments). It also cripples tasks that rely on the watch task to share the context with each subsequent run (i.e., reload tasks). If you would like a faster watch task or need to share the context please set the `nospawn` option to `true`. Just be aware that with this option enabled, the watch task is more prone to failure. +Spawning does cause a performance hit (usually 500ms for most environments). It also cripples tasks that rely on the watch task to share the context with each subsequent run (i.e., reload tasks). If you would like a faster watch task or need to share the context please set the `spawn` option to `false`. Just be aware that with this option enabled, the watch task is more prone to failure. ## Release History @@ -424,4 +424,4 @@ Spawning does cause a performance hit (usually 500ms for most environments). It Task submitted by [Kyle Robinson Young](http://dontkry.com) -*This file was generated on Sat Jul 20 2013 09:03:45.* +*This file was generated on Mon Aug 05 2013 12:51:45.*