Go to file
2020-12-30 22:55:47 +05:30
assets Added webworker observable class and demo 2020-12-30 13:51:33 +05:30
project Added scalafix 2020-12-27 20:39:57 +05:30
src Added odin logging + store middleware 2020-12-30 22:55:47 +05:30
.gitignore First commit 2020-12-27 20:28:19 +05:30
.scalafmt.conf First commit 2020-12-27 20:28:19 +05:30
build.sbt Added odin logging + store middleware 2020-12-30 22:55:47 +05:30
README.md First commit 2020-12-27 20:28:19 +05:30
webpack.config.common.js Refactored webpack config into common 2020-12-30 22:15:31 +05:30
webpack.config.dev.js Refactored webpack config into common 2020-12-30 22:15:31 +05:30
webpack.config.prod.js Refactored webpack config into common 2020-12-30 22:15:31 +05:30
yarn.lock Refactored webpack config into common 2020-12-30 22:15:31 +05:30

Outwatch-Test

Prerequisites

You should make sure that the following components are pre-installed on your machine:

Create a module

in sbt shell: fastOptJS::webpack or fullOptJS::webpack

Working in dev mode

In sbt shell, run dev. Then open http://localhost:8080/ in your browser.

This sbt-task will start webpack dev server, compile your code each time it changes and auto-reload the page.
webpack dev server will close automatically when you stop the dev task (e.g by hitting Enter in the sbt shell while you are in dev watch mode).

If you existed ungracefully and your webpack dev server is still open (check with ps -aef | grep -v grep | grep webpack), you can close it by running fastOptJS::stopWebpackDevServer in sbt.