donejs / donejs/done-serve

Specifying --live-reload-port doesn’t seem to work

Open
#70 3 comments 0 reactions 0 assignees View on GitHub
enhancement p3
Dominant language
JavaScript
Stars
8
Forks
5
PR merge metrics
No merged PRs in 30d

Description

When I run this: `./node_modules/.bin/done-serve --develop --port 8080 --live-reload-port 9000`

I expect to be able to open the Network DevTools in Chrome, look at the WebSocket requests, and see the request url set to `ws://localhost:9000/`. Instead, it’s `ws://localhost:8012/`

__Environment:__

| Software | Version
| ------------------ | -------
| donejs -V | 1.0.1
| npm ls done-serve | 1.4.0
| npm ls steal-tools | 1.9.1
| node -v | 8.1.4

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue with the mentioned ./node_modules/.bin/done-serve command and compare the requested --live-reload-port with the WebSocket URL shown in Chrome Network DevTools. Trace where done-serve handles that command-line option; done means the WebSocket request uses ws://localhost:9000/ instead of ws://localhost:8012/.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
backend, cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.