Skip to content

Instantly share code, notes, and snippets.

@saystone
Forked from jarretmoses/React Native Clear Cache
Last active February 26, 2018 06:04
Show Gist options
  • Select an option

  • Save saystone/10fd1c52dc4da80c334534f58593bdaa to your computer and use it in GitHub Desktop.

Select an option

Save saystone/10fd1c52dc4da80c334534f58593bdaa to your computer and use it in GitHub Desktop.

Revisions

  1. saystone revised this gist Feb 26, 2018. 1 changed file with 5 additions and 5 deletions.
    10 changes: 5 additions & 5 deletions React Native Clear Cache
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    watchman watch-del-all &&
    rm -rf $TMPDIR/react-* &&
    rm -rf node_modules/ &&
    npm cache clean --force &&
    npm install &&
    npm start -- --reset-cache
    rm -rf $TMPDIR/react-* &&
    rm -rf node_modules/ &&
    npm cache clean --force &&
    npm install &&
    npm start -- --reset-cache
  2. saystone revised this gist Feb 26, 2018. 1 changed file with 6 additions and 1 deletion.
    7 changes: 6 additions & 1 deletion React Native Clear Cache
    Original file line number Diff line number Diff line change
    @@ -1 +1,6 @@
    watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf node_modules/ && npm cache clean && npm install && npm start -- --reset-cache
    watchman watch-del-all &&
    rm -rf $TMPDIR/react-* &&
    rm -rf node_modules/ &&
    npm cache clean --force &&
    npm install &&
    npm start -- --reset-cache
  3. @jarretmoses jarretmoses revised this gist Jul 15, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion React Native Clear Cache
    Original file line number Diff line number Diff line change
    @@ -1 +1 @@
    watchman watch-del-all && rm -rf node_modules/ && npm cache clean && npm install && npm start -- --reset-cache
    watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf node_modules/ && npm cache clean && npm install && npm start -- --reset-cache
  4. @jarretmoses jarretmoses revised this gist Apr 14, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion React Native Clear Cache
    Original file line number Diff line number Diff line change
    @@ -1 +1 @@
    watchman watch-del-all && rm -rf node_modules/ && npm clean cache && npm install && npm start -- --reset-cache
    watchman watch-del-all && rm -rf node_modules/ && npm cache clean && npm install && npm start -- --reset-cache
  5. @jarretmoses jarretmoses created this gist Jul 6, 2016.
    1 change: 1 addition & 0 deletions React Native Clear Cache
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    watchman watch-del-all && rm -rf node_modules/ && npm clean cache && npm install && npm start -- --reset-cache