├── .editorconfig ├── .gitignore ├── .prettierrc ├── license ├── package.json ├── readme.md └── src └── index.js /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = tab 5 | indent_size = 4 6 | end_of_line = lf 7 | charset = utf-8 8 | trim_trailing_whitespace = true 9 | insert_final_newline = true 10 | 11 | [*.yml] 12 | indent_style = space 13 | indent_size = 2 14 | 15 | [*.md] 16 | indent_style = space 17 | trim_trailing_whitespace = false -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | npm-debug.log 3 | yarn.lock 4 | package-lock.json 5 | .DS_Store 6 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "none", 4 | "arrowParens": "avoid", 5 | "printWidth": 90 6 | } 7 | -------------------------------------------------------------------------------- /license: -------------------------------------------------------------------------------- 1 | ISC License 2 | 3 | Copyright (c) Antoine Boulanger (https://github.com/ABXlink) 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 15 | OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "esbuild-serve", 3 | "version": "1.0.1", 4 | "description": "Serve with live reload for esbuild.", 5 | "repository": "nativew/esbuild-serve", 6 | "author": "Antoine Boulanger (https://github.com/antoineboulanger)", 7 | "license": "ISC", 8 | "exports": "./src/index.js", 9 | "main": "src/index.js", 10 | "type": "module", 11 | "scripts": { 12 | "format": "prettier --write --ignore-unknown '**/*'" 13 | }, 14 | "dependencies": { 15 | "create-serve": "^1.0.1", 16 | "esbuild": "^0.9.0" 17 | }, 18 | "devDependencies": { 19 | "prettier": "^2.2.1" 20 | }, 21 | "files": [ 22 | "src" 23 | ], 24 | "keywords": [ 25 | "esbuild", 26 | "wrapper", 27 | "plugin", 28 | "serve", 29 | "http", 30 | "server", 31 | "livereload", 32 | "live", 33 | "reload", 34 | "hot", 35 | "refresh" 36 | ] 37 | } 38 | -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 |
2 | 3 | # esbuild-serve 4 | 5 | [Serve](https://github.com/nativew/serve) with live reload for [esbuild](https://github.com/evanw/esbuild). 6 | 7 |