GithubHelp home page GithubHelp logo

Comments (6)

rwjblue avatar rwjblue commented on June 13, 2024

thank you for the awesome write up, would you mind adding another scenario to our tests!

Something like this one:

it('liveReloadPort and port are different', assert => {
options.liveReloadPort = '35729';
let script = InjectLiveReload.dynamicScript(options);
let actual = getScriptSrc(script);
assert.strictEqual(actual, 'http://localhost:35729/_lr/livereload.js?port=35729&host=localhost&path=_lr/livereload');
});

But with the options that you were using? Presumably it fails now (due to not incorporating the port) but having the test helps us 1) make sure we don’t regress in the future, 2) that I actually understand the problem properly 😜

from ember-cli-inject-live-reload.

jherdman avatar jherdman commented on June 13, 2024

Sure thing! I've made branch here https://github.com/jherdman/ember-cli-inject-live-reload/tree/issue-68 but I can't seem to open a PR to this repo. Can't say I've had that happen before 😒

from ember-cli-inject-live-reload.

jherdman avatar jherdman commented on June 13, 2024

PR opened! It looks like I was affected by the Github outage.

from ember-cli-inject-live-reload.

rwjblue avatar rwjblue commented on June 13, 2024

I think this was fixed in #113 (please double check).

from ember-cli-inject-live-reload.

jherdman avatar jherdman commented on June 13, 2024

Worked like a charm!

from ember-cli-inject-live-reload.

rwjblue avatar rwjblue commented on June 13, 2024

Thanks for confirming!

from ember-cli-inject-live-reload.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.