Skip to content

Commit 003c288

Browse files
committed
mionr
1 parent ca5619b commit 003c288

File tree

3 files changed

+7
-10
lines changed

3 files changed

+7
-10
lines changed

dev.cmd

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ set NODE_LANG=%1
55
@set ASSET_VERSIONING=query
66
@set WATCH=1
77
@set SITE_HOST=http://javascript.local
8-
@set PORT=80
8+
@set PORT=3000
99
@set NODE_PATH=./handlers;./modules
10-
@set TUTORIAL_EDIT=1
1110

1211
call gulp dev
1312

edit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ export NODE_ENV=production
99
export TUTORIAL_EDIT=1
1010
export PORT=3000
1111

12-
npm --silent run -- gulp edit --root /js/javascript-tutorial-$BRANCH
12+
npm --silent run -- gulp edit
1313

edit.cmd

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
@if "%~1"=="" goto usage
22

3-
set NODE_LANG=%1
4-
@set NODE_ENV=development
3+
@set NODE_LANG=%1
4+
@set NODE_ENV=production
5+
@set TUTORIAL_EDIT=1
56
@set ASSET_VERSIONING=query
67
@set WATCH=1
78
@set SITE_HOST=http://javascript.local
8-
@set PORT=80
9+
@set PORT=3000
910
@set NODE_PATH=./handlers;./modules
10-
@set PLUNK_REMOTE_OFF=1
1111

12-
call gulp tutorial:import --root /js/javascript-tutorial-%NODE_LANG%
13-
14-
call gulp edit --root /js/javascript-tutorial-%NODE_LANG%
12+
call gulp edit
1513

1614
goto :eof
1715

0 commit comments

Comments
 (0)