I have a problem with xdg-open when I try to run "grunt serve:dist" in a Centos 7 VPS with the following message:
Warning: Command failed: xdg-open: no method available for opening 'http://0.0.0.0:9000'
I tried reinstalling the xdg-util but it didn't work.
Could someone help me with this problem?
Thanks in advance!
grunt serve:dist
is not built for serving your site, only a way to preview the dist version in developpment phase.
To serve your project you have to :
dist/
folder with grunt
or grunt build
dist/
then node server.js