mirror of
https://github.com/status-im/react-native.git
synced 2025-01-16 12:34:17 +00:00
654d7595fe
Summary:
I noticed in v0.50.0 all mentions of 'packager' were updated to 'Metro Bundler':
12eb04b236
It seems like command which launches the bundler still sets the terminal title to 'React Packager'. This PR simply updates the title from 'React Packager' to 'Metro Bundler'.
Run `scripts/launchPackager.command`/`scripts/launchPackager.bat` and check title:
<img width="907" alt="screen shot 2018-01-05 at 14 02 53" src="https://user-images.githubusercontent.com/754498/34612337-3e93e8ca-f221-11e7-98f9-c5190674868e.png">
[GENERAL] [ENHANCEMENT] [./scripts]
Closes https://github.com/facebook/react-native/pull/17457
Differential Revision: D6673843
Pulled By: shergin
fbshipit-source-id: 65a072c3b79593391f257191b1372e7e9c8799f1
19 lines
497 B
Bash
Executable File
19 lines
497 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Copyright (c) 2015-present, Facebook, Inc.
|
|
# All rights reserved.
|
|
#
|
|
# This source code is licensed under the BSD-style license found in the
|
|
# LICENSE file in the root directory of this source tree. An additional grant
|
|
# of patent rights can be found in the PATENTS file in the same directory.
|
|
|
|
# Set terminal title
|
|
echo -en "\033]0;Metro Bundler\a"
|
|
clear
|
|
|
|
THIS_DIR=$(dirname "$0")
|
|
. "$THIS_DIR/packager.sh"
|
|
|
|
echo "Process terminated. Press <enter> to close the window"
|
|
read
|