denoland / fresh

The next-gen web framework.
https://fresh.deno.dev
MIT License
12.54k stars 648 forks source link

suggest renaming deno tasks #2197

Closed liigo closed 5 months ago

liigo commented 10 months ago

reason: cleaner description.

ref: npm run dev npm run serve.

marvinhagemeister commented 10 months ago

ref: npm run dev npm run serve.

Can you elaborate on where you got those references from? I feel like this issue is a bit missing the reasons on "why" those names are preferable. I'm certainly open to changing the names of the tasks.

liigo commented 10 months ago

@marvinhagemeister

They don't clearly express which scenario to be used for. deno task start is for dev/debug scenario, but 'start' may be misleading (to start a production version). deno task preview is for production/release scene, but 'preview' is obvious misleading (to preview a develop version). 'dev' / 'serve' is cleaner in semantic than 'start' / 'preview', IMO.

marvinhagemeister commented 5 months ago

We renamed the tasks for the upcoming Fresh 2 release to