You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Rohan Sircar 08b320b051 many changes 1 year ago
assets many changes 1 year ago
project Added scalafix 2 years ago
src many changes 1 year ago
.gitignore First commit 2 years ago
.scalafmt.conf First commit 2 years ago
README.md First commit 2 years ago
build.sbt many changes 1 year ago
webpack.config.common.js Refactored webpack config into common 2 years ago
webpack.config.dev.js Refactored webpack config into common 2 years ago
webpack.config.prod.js Refactored webpack config into common 2 years ago
yarn.lock many changes 1 year ago

README.md

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.