Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can ember-cli watch and build automatically without running the server?

Title is pretty much my question. I'm serving the dist directory differently and would still like the benefit of auto-builds but I don't need to run the server. I looked in the docs and the cli help but didn't see anything specific. I know the cli help doesn't contain everything because it doesn't list ember build which is available.

like image 605
Gregg Avatar asked Dec 24 '22 18:12

Gregg


1 Answers

If I understand correctly you are wanting the ember build command to watch for changes in the file tree and rebuild on a change?

They implemented ember build --watch a while back which will trigger when a file changes. Tested just now and it worked on 0.2.7. Not sure what version it came in though. Let me know if this is not the answer you are looking for.

like image 141
David Duncan Avatar answered May 19 '23 21:05

David Duncan