Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grunt build is taking too much of time #24

Open
onkar-lavhekar opened this issue Sep 13, 2021 · 4 comments
Open

grunt build is taking too much of time #24

onkar-lavhekar opened this issue Sep 13, 2021 · 4 comments

Comments

@onkar-lavhekar
Copy link

grunt build is taking too much of time

OS : CentOS Linux 8
Kernel : Linux 4.18.0-305.10.2.el8_4.x86_64 x86_64
node : v14.17.4
npm : 6.14.14
grunt-cli : v1.4.3

grunt build --unhandled-rejections=none --verbose
Initializing
Command-line options: --verbose, --no-respawning, --gruntfile=./formbuilder-lhcforms/Gruntfile.js

Reading "Gruntfile.js" Gruntfile...OK

Registering Gruntfile tasks.
Reading package.json...OK
Parsing package.json...OK
Initializing config...OK
Loading "Gruntfile.js" tasks...OK

  • build, createDir, createDockerImage, createFreshDockerImage, default, deleteDir, express-keepalive, open, prune_modules, s, serve, server, test, update_webdriver, wait

Running tasks: build

Running "build" task

Loading "grunt-contrib-clean" plugin

Registering "./formbuilder-lhcforms/node_modules/grunt-contrib-clean/tasks" tasks.
Loading "clean.js" tasks...OK

  • clean

Running "clean:dist" (clean) task
Verifying property clean.dist exists in config...OK
Files: [no src]
Options: force=false, no-write=false

0 paths cleaned.

Loading "grunt-concurrent" plugin

Registering "./formbuilder-lhcforms/node_modules/grunt-concurrent/tasks" tasks.
Loading "concurrent.js" tasks...OK

  • concurrent

Running "concurrent:dist" (concurrent) task
Verifying property concurrent.dist exists in config...OK
Files: [no src] -> dist
Options: limit=4

--STUCK at above line from several minutes--
Any reason or anything I am missing. I can grunt server command and check application run in the browser.

@plynchnlm
Copy link
Member

Try npm run clean-build, though I am not why the result would be different.

@plynchnlm
Copy link
Member

grunt build completes in just under 4 minutes for me.

@onkar-lavhekar
Copy link
Author

Is the Windows 10 a bottleneck? Never tried on Linux box! Any fav. flavour on Linux?

@plynchnlm
Copy link
Member

I thought your original post said you ran it on CentOS, which is Linux.

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

No branches or pull requests

2 participants