Add browser-sync
This commit is contained in:
parent
2ce6d04d2d
commit
a2132616d5
2 changed files with 8 additions and 0 deletions
|
@ -8,6 +8,10 @@ It contains pages about my products, services, public speaking and training, as
|
||||||
|
|
||||||
The styling is done using [Tailwind CSS].
|
The styling is done using [Tailwind CSS].
|
||||||
|
|
||||||
|
## BrowserSync
|
||||||
|
|
||||||
|
I have [BrowserSync][] installed and use it to watch for changes to files and [automatically refresh my browser][0] instead of using Sculpin's built-in development server.
|
||||||
|
|
||||||
## Hosting
|
## Hosting
|
||||||
|
|
||||||
The website is hosted on a 1GB DigitalOcean droplet alongside other static websites.
|
The website is hosted on a 1GB DigitalOcean droplet alongside other static websites.
|
||||||
|
@ -16,6 +20,8 @@ I'm using Apache as my web server so I can easily manage redirects using the `.h
|
||||||
|
|
||||||
As it's a static website, no PHP or database are needed.
|
As it's a static website, no PHP or database are needed.
|
||||||
|
|
||||||
|
[0]: https://www.oliverdavies.uk/blog/sculpin-browsersync
|
||||||
|
[browsersync]: https://browsersync.io
|
||||||
[sculpin]: https://sculpin.io
|
[sculpin]: https://sculpin.io
|
||||||
[tailwind css]: https://tailwindcss.com
|
[tailwind css]: https://tailwindcss.com
|
||||||
[website]: https://www.oliverdavies.uk
|
[website]: https://www.oliverdavies.uk
|
||||||
|
|
|
@ -10,6 +10,8 @@
|
||||||
{
|
{
|
||||||
devShells.${system}.default = pkgs.mkShell {
|
devShells.${system}.default = pkgs.mkShell {
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
|
nodePackages.browser-sync
|
||||||
|
|
||||||
(php83.buildEnv {
|
(php83.buildEnv {
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
error_reporting = E_ALL & ~E_DEPRECATED & ~E_USER_DEPRECATED
|
error_reporting = E_ALL & ~E_DEPRECATED & ~E_USER_DEPRECATED
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue