Closed robwebdev closed 8 years ago
Other than the comment above, it seems to be working well in my application.
Thanks for the input @mike183.
@limptwiglet could you take a look at this when you get chance?
@robwebdev sorry mate didn't get a chance to commit this last night. Yeah looks all good to me.
@limptwiglet no probs! cheers
This is working great, thanks for working on this! Any chance of cutting a new release?
Also, I noticed in this PR that the docs were changed to use ember build
. Is there any difference in running ember staticboot
vs ember build
?
@mike183 No probs! I'll tag a release this evening.
The difference is that ember staticboot
will serve the app, whilst ember build
will just build it and not serve it. Really, I should have both in the readme. Are you using the staticboot command to serve the app?
Awesome, thanks.
Currently, I've just been using ember serve
to serve the application. The only time I used ember staticboot
was at the beginning when I thought that was the only way to build the static output, but I stopped and started using ember build
once I'd realised that worked as well. I've not really used ember staticboot
since, should I be?
Others are using it in the same way as you are, that's totally fine and I don't see any problem with it.
I'll probably re-add the staticboot command to the readme once it has some test coverage and I can verify its working how I want it to. Currently its pretty much just a copy and paste of the ember fastboot
command!
Cool thanks.
If the ember staticboot
command doesn't do anything special, wouldn't it be best to deprecate/remove it and tell users to just use the ember serve
and ember build
commands as they would usually? That way there is less code to maintain and users can just continue to use the EmberCLI commands that they're used to.
Obviously your add-on, your choice, just my two cents 👍
Well, ember staticboot
aims to build and serve the static pages, which neither of the ootb commands will do just yet.
dist
)destDir
config option