Forum

phpStorm - faster w...
 
Notifications
Clear all

phpStorm - faster way for uploading changes into server?

1 Posty
1 Users
0 Reactions
838 Widok
0
Topic starter

problems with npm run watch, switching betwen IDE and webbrowser.

 

1 Answer
0
Topic starter

Use https://mutagen.io  it's extremly fast :)

  1. disable automatic upload in phpStorm
  2. download mutagen (dont forget about mutagen-agents.tar.gz, must be near mutagen.exe)
  3. create synchronization
    1. mutagen sync create C:\_MY_PROJECT_ root@192.168.1.1:/var/www/html/_MY_PROJECT_ --name=PROJECT_ONE --sync-mode=one-way-replica --default-owner-beta=www-data --default-group-beta=www-data 
    2.  (type password multiple times... )
  4. watch for changes using mutagen sync monitor PROJECT_ONE
  5. or watch mutagen list

How to STOP

  1. mutagen sync terminate PROJECT_ONE

now it's better :)

 

 

 

Odpowiedź

Author Name

Author Email

Your question *

 
Preview 0 Revisions Saved
Share: