astro/packages/astro
Ben Holmes c706d845eb
No 👏 more 👏 server 👏 restarts 👏 on 👏 config 👏 changes (#4578)
* feat: restart config on add, remove, update

* fix: reload for root project configs only

* fix: throw when userConfigPath can't resolve

* chore: changeset

* wip: remove normalizePath before writeFile

* refactor: invalidateWithCache -> isConfigReload

* wip: mustExist?

* debug: config loaded successfully

* debug: more logs

* debug: MORE logging

* fix: normalize resolved config path

* debug: yet MORE logging

* chore: bump proload

* fix: use file path, not URL.pathname

* Revert "wip: mustExist?"

This reverts commit 8ca8662132532dcdc9fd120868e615ddc60f498e.

* chore: remove console log

* feat: cleanup restart message, better invalid config handling

* chore: update lockfile

* chore: fix types

* fix: throw helpful error when config does not exist

* docs: remove "restart dev server" from integrations

* docs: make sure to restart -> try restarting

Co-authored-by: Nate Moore <nate@astro.build>
2022-09-09 11:58:16 -04:00
..
components chore: updated shiki (#4519) 2022-08-28 08:23:37 -03:00
e2e Fix: Windows client-side script reloads on dev server (#4645) 2022-09-09 10:53:34 -04:00
src No 👏 more 👏 server 👏 restarts 👏 on 👏 config 👏 changes (#4578) 2022-09-09 11:58:16 -04:00
test [ci] format 2022-09-09 13:04:29 +00:00
tsconfigs Add template tsconfigs for users to extend from (#4439) 2022-08-25 15:15:27 -04:00
astro-jsx.d.ts Add missing slot attribute to possible attributes on SVG elements (#4535) 2022-08-29 12:06:50 -03:00
astro.js Roll back supported Node engines (#3937) 2022-07-15 08:15:04 -04:00
CHANGELOG.md [ci] release (#4680) 2022-09-09 10:56:48 -04:00
client-base.d.ts Vendor Vite's importMeta.d.ts inside our repo to workaround issue with tsc on Linux (#4499) 2022-08-26 12:47:39 -03:00
client.d.ts Fixes type definitions @astrojs/image and adds more documentation to the README (#4045) 2022-07-27 15:39:05 +00:00
config.d.ts fix: config type import (#4524) 2022-08-29 00:12:58 -03:00
config.mjs [ci] format 2022-08-05 19:42:58 +00:00
env.d.ts Make astro package play nice with node16 module resolution (#4182) 2022-08-25 14:57:11 -04:00
import-meta.d.ts Vendor Vite's importMeta.d.ts inside our repo to workaround issue with tsc on Linux (#4499) 2022-08-26 12:47:39 -03:00
package.json No 👏 more 👏 server 👏 restarts 👏 on 👏 config 👏 changes (#4578) 2022-09-09 11:58:16 -04:00
playwright.config.js [ci] format 2022-07-19 21:49:29 +00:00
README.md fix link (#4070) 2022-07-28 08:11:37 -04:00
tsconfig.json Make astro package play nice with node16 module resolution (#4182) 2022-08-25 14:57:11 -04:00


Astro logo

Astro is a website build tool for the modern web —
powerful developer experience meets lightweight output.

Install

# Recommended!
npm create astro@latest

# Manual:
npm install --save-dev astro

Looking for help? Start with our Getting Started guide.

Looking for quick examples? Open a starter project right in your browser.

Documentation

Visit our offical documentation.

Support

Having trouble? Get help in the official Astro Discord.

Contributing

New contributors welcome! Check out our Contributors Guide for help getting started.

Join us on Discord to meet other maintainers. We'll help you get your first contribution in no time!

Sponsors

Astro is generously supported by Netlify, Vercel, and several other amazing organizations listed here.

❤️ Sponsor Astro! ❤️