Skip to content
This repository has been archived by the owner on Feb 24, 2022. It is now read-only.

Enable hot reload #41

Merged
merged 2 commits into from
Mar 6, 2020
Merged

Enable hot reload #41

merged 2 commits into from
Mar 6, 2020

Conversation

Sigafoos
Copy link
Contributor

@Sigafoos Sigafoos commented Mar 5, 2020

This changes make run-local to install any dependencies for both the
app and api and starts both with hot reloading. The go server played
nicer with sending to the background so I started it first. This also
adds some minimal documentation in the README.

This almost certainly won't work on Windows, but should on Mac/Linux (I
tested on LMDE 3 Cindy). Windows development is something we'll need to
support at some point in the interest of being accessible to anyone who
wants to help.

Fixes #32

This changes `make run-local` to install any dependencies for both the
app and api and starts both with hot reloading. The go server played
nicer with sending to the background so I started it first. This also
adds some minimal documentation in the README.

This almost certainly won't work on Windows, but should on Mac/Linux (I
tested on LMDE 3 Cindy). Windows development is something we'll need to
support at some point in the interest of being accessible to anyone who
wants to help.

Fixes #32
To start a development server:

```bash
make run-local
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd probably suggest make dev over make run-local, which will build a containerized development environment so you don't need anything but docker.

run-local is the "you should know what you're doing" sort of environment.

@Sigafoos Sigafoos merged commit 82d6ee8 into master Mar 6, 2020
@Sigafoos Sigafoos deleted the improvement/hot_reload branch March 6, 2020 16:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Vue hot reload
2 participants