isotope-mail icon indicating copy to clipboard operation
isotope-mail copied to clipboard

styles compilation for 60sec

Open shift-reality opened this issue 5 years ago • 7 comments

Today i tried to compile client with hot-reload module. JS change take about 3s-5s for apply, but styles recompile project fully... What i should to do in this situation? Or this okay?

shift-reality avatar Dec 12 '19 15:12 shift-reality

build approax 10 minutes

shift-reality avatar Dec 12 '19 15:12 shift-reality

That's pretty awkward. Are you using the provided package.json scripts (i.e. npm start).

NPM build command in CI environment takes ~45 seconds (https://travis-ci.org/manusa/isotope-mail/jobs/622218689#L597)

A global style change (such as changing one of the theme colors) takes < 14 seconds in my old home laptop...

image

Please provide more details, and also make sure you don't have an active antivirus scanning your project directory file changes (will drain performance of any npm project -> thousands of files to analyze)

manusa avatar Dec 15 '19 07:12 manusa

yes, i use "start" But when i tried change at least 1 line of scss...webpack recompile project fully instead of recompile only changed file

shift-reality avatar Dec 15 '19 08:12 shift-reality

what i should to do?

shift-reality avatar Dec 23 '19 20:12 shift-reality

i need fast recompile on the fly My project on VUE.JS apply changes in less than 1 second with webpack 4 devserver hot-reload plugin....

shift-reality avatar Dec 23 '19 20:12 shift-reality

and approax 60 deps in package.json

shift-reality avatar Dec 23 '19 20:12 shift-reality

because only styles changed, not recompile project fully

shift-reality avatar Dec 23 '19 20:12 shift-reality