arnabwahid / wordpress-bootstrap

Bootstrap in WordPress theme form - Bootstrap 3.3.1
1.49k stars 557 forks source link

Keeping npm and bower up to date #236

Open mkoller opened 9 years ago

mkoller commented 9 years ago

After I run npm install I usually follow with npm update and bower update to use the latest version of bootstrap (Currently v3.3.4) . Is this the best practice to keep these dependencies up to date? I haven't run into any problems yet other than a 404 on my style.css.map when inspecting through the web console.

jamessy commented 9 years ago

The 404 is because style.css.map is probably has the old theme name in the path. If you look in Grunt.js you'll see what I mean.

sacerro commented 9 years ago

You can create a new css map with, for example, lessc: cd YOUR/LESS/PATH lessc --source-map=style.css.map styles.less ..\dist\css\styles.css