Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

npm run build not updating app.css neither editor.css #1401

Open
jorge-vitrubio opened this issue Sep 6, 2019 · 1 comment
Open

npm run build not updating app.css neither editor.css #1401

jorge-vitrubio opened this issue Sep 6, 2019 · 1 comment

Comments

@jorge-vitrubio
Copy link

jorge-vitrubio commented Sep 6, 2019

doing a
npm run build
can't see most recent changes inside dist/assets/css/ files get stuck in previous stage.
in ordert to have a more recent app.css I have to do
npm run package
and then upload the packaged to wordpress site.

I wan't to produce changes locally and upload only the files that need to be updated, not all the theme.

please, any sugestion

thanks.

$ npm -v
6.9.0
$ node -v
v10.16.3
$ npm run build

> greenballon-fp@1.0.1 build ~/Documents/green.elglobus/greenballon-fp
> gulp build --production

[14:30:19] Failed to load external module @babel/register
[14:30:19] Requiring external module babel-register
[14:30:20] Loading config file...
[14:30:20] config.yml does not exist, loading config-default.yml
[14:30:20] Using gulpfile ~/Documents/greenballon-fp/gulpfile.babel.js
[14:30:20] Starting 'build'...
[14:30:20] Starting 'clean'...
[14:30:20] Finished 'clean' after 7.39 ms
[14:30:20] Starting 'sass'...
[14:30:20] Starting 'webpack:build'...
[14:30:20] Starting 'images'...
[14:30:20] Starting 'copy'...
[14:30:20] Finished 'copy' after 666 ms
[14:30:25] Finished 'sass' after 4.94 s
[14:30:25] gulp-imagemin: Minified 6 images (saved 55 kB - 27.7%)
[14:30:25] Finished 'images' after 5 s
[14:30:27] Version: webpack 3.12.0
 Asset    Size  Chunks                    Chunk Names
app.js  372 kB       0  [emitted]  [big]  app
[14:30:27] Finished 'webpack:build' after 7.52 s
[14:30:27] Finished 'build' after 7.53 s

npm_list.txt

@kLOsk
Copy link
Collaborator

kLOsk commented Sep 9, 2019

Even tho it seems like the file has not been changed it indeed has so, see stat -x app.css http://b3.ms/yYLn75VKZ9Gg
When you deploy via git, git will recognize the file difference and upload the changed files accordingly. How do you run your deploys at the moment?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants