GithubHelp home page GithubHelp logo

ember build, server about ember-cli HOT 10 CLOSED

ember-cli avatar ember-cli commented on May 23, 2024
ember build, server

from ember-cli.

Comments (10)

stefanpenner avatar stefanpenner commented on May 23, 2024

This argument does not convince me. I can see overlap in options, for ones that are consistent between the two, but I prefer to keep them separate top level commands.

ember serve <flags>
ember build <flags>

from ember-cli.

joliss avatar joliss commented on May 23, 2024

With serve, we might want a way to also kick off the tests each time the sources are rebuilt. I'm not really convinced by the original proposal either, but we should think about whether and how to work this into the command line UI.

from ember-cli.

MajorBreakfast avatar MajorBreakfast commented on May 23, 2024

:) It's perhaps not the final solution. Rather a start in the right direction

Thoughs behind my proposal were:

  • the development server should be independent to file watching
  • rebuilding output for node-webkit/phone gap development just in a folder
  • special testem test version of the app which it runs through it's own test server

I like the sound of ember serve, ember build but they don't cover all use cases and overlap.

We could design ember build to be similar to what I proposed above and have:

  • ember serve as shorthand for ember build --watch --serve
  • ember develop as shorthand for ember build --watch --serve --test <-- main command
  • ember dist as shorthand for ember build --pack --env production
  • ember test as shorthand for ember build --test (--env production)?

And there is also EAK's /tests site. Which we should also think about. It is kind of handy, especially for showcase.

@joliss Thanks for joining the discussion. It's kind of broccoli related :)

from ember-cli.

joliss avatar joliss commented on May 23, 2024

Can you elaborate on the node-webkit and phone gap use cases?

from ember-cli.

MajorBreakfast avatar MajorBreakfast commented on May 23, 2024

stefanpenner/ember-app-kit#364 For node-webkit or phone gap development a folder that contains the built app is needed - with rebuilding for convenience. Instead of a server, a directory with a fixed path should be the output.

from ember-cli.

stefanpenner avatar stefanpenner commented on May 23, 2024

@MajorBreakfast ya the phonegap node-webkit scenerio is a good one to get right

from ember-cli.

MajorBreakfast avatar MajorBreakfast commented on May 23, 2024

How does the testing command with rebuilding work?
When we used karma in EAK it ran the tests after every rebuild. Unfortunately it also blocked the server while it ran. It was kind of cool, though.

from ember-cli.

Globegitter avatar Globegitter commented on May 23, 2024

@stefanpenner @MajorBreakfast is there anything I could help? Would love to push this forward but just getting errors right now, even with a simple ember server.

from ember-cli.

stefanpenner avatar stefanpenner commented on May 23, 2024

Could you open an issue with a detailed report of the errors.

Up to this point this project should be considered a spike, the next push should likely be a solid test suite and fixing existing bugs. This should put us on the path to stability and a beta.

from ember-cli.

stefanpenner avatar stefanpenner commented on May 23, 2024

I believe some of these points are addressed, if they are not (and are not already other existing issues) I will reopen.

from ember-cli.

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.