Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap-npm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <markdotto@gmail.com>2018-07-29 08:40:58 +0300
committerMark Otto <markdotto@gmail.com>2018-07-29 08:40:58 +0300
commitd6e8fa15be8bcb379de25108259b77021e2f4b61 (patch)
treeb9e64321e48a23a54b812d04784cb6e07a14241d
parent2d9b2b8ba50a05d39a46e4d5f070936c18667b1f (diff)
update docs on scriptsHEADmaster
-rw-r--r--index.html3
-rw-r--r--readme.md2
2 files changed, 3 insertions, 2 deletions
diff --git a/index.html b/index.html
index d599135..a247127 100644
--- a/index.html
+++ b/index.html
@@ -36,9 +36,10 @@
<p>Built into npm is the ability to run scripts or tasks, like compiling CSS, via the command line. The <code>package.json</code> in any npm package typically includes scripts unique to that project. Here's how to use our this demo's npm scripts to compile a custom Bootstrap build.</p>
<ol>
<li>From the command line, navigate to this demo's root directory, <code>bootstrap-npm</code>.</li>
- <li>When ready, enter <code>npm start</code>. This will compile the CSS for the first time, and then watch the source <code>bootstrap-custom.scss</code> file for changes, automatically recompiling as necessary.</li>
+ <li>When ready, enter <code>npm start</code>. This will compile the CSS for the first time.</li>
<li>Open the <code>index.html</code> file in any browser to see a styled page using your freshly compiled CSS.</li>
</ol>
+ <p>To watch the source <code>bootstrap-custom.scss</code> file for changes, enter <code>npm run watch</code> to automatically recompile as necessary.</p>
<p>When using <code>npm start</code>, any changes you make to your <code>custom.scss</code> will automatically cause the Sass file to recompile. Refresh your HTML page to see those changes in action.</p>
<p>Those just getting started with Bootstrap and npm may wish to build on this project's <code>package.json</code> by adding new dependencies and scripts. Please do!</p>
</div>
diff --git a/readme.md b/readme.md
index 8d1b2fa..59b4bb5 100644
--- a/readme.md
+++ b/readme.md
@@ -13,4 +13,4 @@ npm install
npm start
```
-This will compile the provided Sass file, `bootstrap-custom.scss`, into a new CSS file and open the included HTML page, `index.html`, in your browser.
+This will compile the provided Sass file, `bootstrap-custom.scss`, into a new CSS file. Open the included HTML page, `index.html`, in your browser to view the demo.