Comments (10)
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.
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.
:) 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 forember build --watch --serve
ember develop
as shorthand forember build --watch --serve --test
<-- main commandember dist
as shorthand forember build --pack --env production
ember test
as shorthand forember 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.
Can you elaborate on the node-webkit and phone gap use cases?
from ember-cli.
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.
@MajorBreakfast ya the phonegap node-webkit scenerio is a good one to get right
from ember-cli.
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.
@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.
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.
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)
- ember-cli 5 makes the quick start guide error HOT 3
- Generating a new project on Node 14 with ember-cli 4.12 with yarn and typescript fails HOT 2
- Support prettier v3 in blueprints HOT 3
- Support Yarn v3 with ember new Command HOT 4
- Test against yarn 3 HOT 4
- WARNING: Ember CLI v5.2.0 is not tested against Node v20.4.0. S HOT 4
- ember build --watch fails with '[NodeWrapper:4 /path/to/some/folder] is not a SourceNode' when the app name contains 'ember-data' anywhere HOT 10
- incompatible with bun (or bun is incompatible)
- `test` script should not run `lint:*` scripts HOT 1
- Drop Node 16 in ember-cli 5.4 HOT 4
- Fails to fingerprint in production mode HOT 3
- set `declaration: false` in tsconfig.json for the app blueprint.
- TypeScript error on new project: 'SetupTestOptions' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled. HOT 2
- Run Prettier standalone HOT 2
- fingerprint.prepend not working for the chunk js files HOT 3
- [email protected] has security vulnerability HOT 2
- Setup ESLint for gjs/gts
- You passed the '--typescript' flag but there is no TypeScript blueprint available. A JavaScript blueprint will be generated instead. HOT 7
- new typescript component blueprint gives eslint warning HOT 3
- Fresh app 404's on missing assets/test-support.css HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ember-cli.