Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Ability to change the port from 35729 to something else would be handy when having livereload-server running on the server with multiple websites, as you can define a port using livereload.
Comment | File | Size | Author |
---|---|---|---|
#4 | livereload-ability_to_set_the_port-d8-2026567.patch | 987 bytes | bassie111 |
#3 | livereload-ability_to_set_the_port-2026567-3.patch | 911 bytes | holist |
Comments
Comment #1
minorOffense CreditAttribution: minorOffense commentedThere are similar options in the Load from Drupal section. I could just move them up as shared configuration options. If the maintainer agrees.
Comment #2
Hydra CreditAttribution: Hydra commentedSure! Show me what you got :) Always open for constructive patches
Comment #3
holist CreditAttribution: holist commentedI ran into the multisite issue and decided a slim solution is better than no solution... Here's a quick patch for setting the port from variable that can be configured in settings.php. Like this:
$conf['livereload_js_port'] = '35730';
.Sorry, I didn't put effort into making it configurable from the admin UI.
Tried it on 7.x-2.0 (I can post patch for that if someone wants it), does the job.
Comment #4
bassie111 CreditAttribution: bassie111 commentedSame for 8.x version.
Comment #5
bassie111 CreditAttribution: bassie111 commented