wardenenv/warden

GRUNT livereload not working

francesco-di-marcantonio opened this issue · 0 comments

Version of Warden

0.13.2

Operating System and Installation Method

Ubuntu via brew

Image

php-fpm 81.

Describe the Bug

When we try to use livereload/grunt on magento2 image we receive this error:

Loading "Gruntfile.js" tasks...ERROR

Error: Cannot find module './dev/tools/grunt/tools/files-router'
Require stack:

  • /var/www/html/Gruntfile.js
  • /var/www/html/node_modules/grunt/lib/grunt/task.js
  • /var/www/html/node_modules/grunt/lib/grunt.js
  • /usr/local/lib/node_modules/grunt-cli/bin/grunt
    Warning: Task "clean" not found. Use --force to continue.

Aborted due to warnings.

inside dev tools there isnt any grunt folder and all the commands (grunt clean etc etc) are not working

To Reproduce

https://docs.warden.dev/configuration/livereload.html
until point 5

Expected Behavior

grunt command and live reload are working

Additional context

No response