|
@@ -41,11 +41,6 @@ Will be generated :
|
|
|
- babylon.noworker.js (minified version without collisions workers)
|
|
|
- babylon.max.js (unminified)
|
|
|
|
|
|
-### Build Babylon.js when you save a javascript file:
|
|
|
-```
|
|
|
-gulp watch
|
|
|
-```
|
|
|
-
|
|
|
## From the typescript source
|
|
|
### Build Babylon.js from the typescript files:
|
|
|
|
|
@@ -62,12 +57,35 @@ Be aware that all js files content will be overwrite.
|
|
|
|
|
|
### Build Babylon.js when you save a typescript file:
|
|
|
```
|
|
|
-gulp watch-typescript
|
|
|
+gulp watch
|
|
|
+```
|
|
|
+
|
|
|
+### Run Integrated Web Server and watch for changes:
|
|
|
+```
|
|
|
+gulp run
|
|
|
```
|
|
|
|
|
|
+you can now freely test in the following URLs:
|
|
|
+- [Playground]("http://localhost:1338/Playground/index-local.html")
|
|
|
+- [Materials Library]("http://localhost:1338/materialsLibrary/index.html")
|
|
|
+- [Postprocess Library]("http://localhost:1338/postProcessLibrary/index.html")
|
|
|
+- [Procedural Textures Library]("http://localhost:1338/proceduralTexturesLibrary/index.html")
|
|
|
+- [Local Dev Samples]("http://localhost:1338/localDev/index.html")
|
|
|
+
|
|
|
### Compile all the typscript files to their javascript respective files including declaration file
|
|
|
```
|
|
|
gulp typescript-compile
|
|
|
```
|
|
|
|
|
|
Be aware that all js files content will be overwritten.
|
|
|
+
|
|
|
+### Compile all the libraries
|
|
|
+```
|
|
|
+gulp typescript-libraries
|
|
|
+```
|
|
|
+
|
|
|
+Be aware that all js files content will be overwritten.
|
|
|
+
|
|
|
+### Compile all the typscript and the library
|
|
|
+```
|
|
|
+gulp typescript-all
|