mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-21 23:52:31 -05:00
Add note about using the node_modules version of gulp if the system version doesn't exist or is 3.x or lower
This commit is contained in:
parent
3419f8d789
commit
b0fbd6fc1a
1 changed files with 2 additions and 0 deletions
|
@ -58,6 +58,8 @@ Reading through its contents is encouraged for a complete understanding of what
|
||||||
* `gulp --production`: Does the same as `gulp` except the compiled javascript and css is minified, and console logging is removed from the javascript (good for production deployments).
|
* `gulp --production`: Does the same as `gulp` except the compiled javascript and css is minified, and console logging is removed from the javascript (good for production deployments).
|
||||||
* `gulp default watch`: Does the same as `gulp` but continues running to watch for changes to files so it can recompile updated assets and reload them in the browser using BrowserSync (good for development environments).
|
* `gulp default watch`: Does the same as `gulp` but continues running to watch for changes to files so it can recompile updated assets and reload them in the browser using BrowserSync (good for development environments).
|
||||||
|
|
||||||
|
**NOTE**: If `gulp` isn't installed globally or its version is less than `4`, you should use the version included in `node_modules` by running `"$(npm bin)/gulp"` in place of the `gulp` command.
|
||||||
|
|
||||||
### BrowserSync
|
### BrowserSync
|
||||||
|
|
||||||
BrowserSync is used to keep the browser in sync with your code when running the `watch` task with gulp.
|
BrowserSync is used to keep the browser in sync with your code when running the `watch` task with gulp.
|
||||||
|
|
Loading…
Reference in a new issue