Run gulp from www-data

Hi. Can I start gulp from another user? I can not change file permissions. And gulp only works if you run it like this: "sudo -u www-data gulp watch". How can this be repeated?

0

you can't. The only solution is starting PHPStorm as www-data user.

Please see comments in https://youtrack.jetbrains.com/issue/WEB-11972 for possible workarounds (configuring Node interpreter so that it points to a wrapper shell script that runs node.js interpreter under the hood)

1

请先登录再写评论。