Skip to content

Commit e0a40b4

Browse files
committed
Added note on grunt-contrib-watch
1 parent ba5aabf commit e0a40b4

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

01-express-nodemon/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Run `fig build`. It will
2929

3030
Run `fig up` to create and start the container. The app should then be running on your docker daemon on port 3030 (On OS X you can use `boot2docker ip` to find out the IP address).
3131

32-
## Notes for boot2docker
32+
## Notes on boot2docker
3333

3434
It [appears](https://github.com/boot2docker/boot2docker/issues/290) that boot2docker (OS X, Windows) currently does not automatically sync the system clock with the host system after a host resumes from sleep. This becomes a problem due to the way nodemon detects file changes. That might cause it to go bananas, if the clocks on both systems are "too much" out of sync. Until this is fixed, you might use [this workaround](https://github.com/boot2docker/boot2docker/issues/290#issuecomment-62384209) or simply do a manual sync via
3535

02-express-redis-nodemon/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Run `fig up` to create and start both `web` and `db` container. The app should t
3131

3232
You should see a counter on the index page which will be incremented in Redis on every request. See [app/routes/index.js](https://github.com/b00giZm/fig-nodejs-examples/blob/master/02-express-redis-nodemon/app/routes/index.js) to learn how to conect to Redis via [enviroment variables](http://www.fig.sh/env.html) exposed to the `web` container.
3333

34-
## Notes for boot2docker
34+
## Notes on boot2docker
3535

3636
It [appears](https://github.com/boot2docker/boot2docker/issues/290) that boot2docker (OS X, Windows) currently does not automatically sync the system clock with the host system after a host resumes from sleep. This becomes a problem due to the way nodemon detects file changes. That might cause it to go bananas, if the clocks on both systems are "too much" out of sync. Until this is fixed, you might use [this workaround](https://github.com/boot2docker/boot2docker/issues/290#issuecomment-62384209) or simply do a manual sync via
3737

03-express-gulp-watch/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Run `fig up` to create and start the container. The app should then be running o
3535

3636
Go ahead and change any SASS stylesheet inside app/public/sass, and watch it autmatically compile to CSS.
3737

38-
## Notes for boot2docker
38+
## Notes on boot2docker
3939

4040
It [appears](https://github.com/boot2docker/boot2docker/issues/290) that boot2docker (OS X, Windows) currently does not automatically sync the system clock with the host system after a host resumes from sleep. This becomes a problem due to the way nodemon detects file changes. That might cause it to go bananas, if the clocks on both systems are "too much" out of sync. Until this is fixed, you might use [this workaround](https://github.com/boot2docker/boot2docker/issues/290#issuecomment-62384209) or simply do a manual sync via
4141

04-express-grunt-watch/README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,13 @@ Run `fig up` to create and start the container. The app should then be running o
3636

3737
Go ahead and change any SASS stylesheet inside app/public/sass, and watch it autmatically compile to CSS.
3838

39-
## Notes for boot2docker
39+
## Notes on `grunt-contrib-watch`
40+
41+
For a "real real world" ;) application, you might consider [grunt-simple-watch](https://github.com/unbalanced/grunt-simple-watch) instead of [grunt-contrib-watch](https://github.com/gruntjs/grunt-contrib-sass), because, at least for my personal tests, it's a lot easier on the CPU when you have a non trivial amount of files to watch.
42+
43+
For more information, please visit the [grunt-simple-watch repo](https://github.com/unbalanced/grunt-simple-watch).
44+
45+
## Notes on boot2docker
4046

4147
It [appears](https://github.com/boot2docker/boot2docker/issues/290) that boot2docker (OS X, Windows) currently does not automatically sync the system clock with the host system after a host resumes from sleep. This becomes a problem due to the way nodemon detects file changes. That might cause it to go bananas, if the clocks on both systems are "too much" out of sync. Until this is fixed, you might use [this workaround](https://github.com/boot2docker/boot2docker/issues/290#issuecomment-62384209) or simply do a manual sync via
4248

0 commit comments

Comments
 (0)